Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001877/0.001877, allocations: 188.8 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 94.91 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.194/0.194, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2148/0.4088, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.715, allocations: 58.84 MB / 476.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.8432, allocations: 88.32 MB / 0.5517 GB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.8434, allocations: 59.97 kB / 0.5518 GB, free: 10.51 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.04525/0.8887, allocations: 16.31 MB / 0.5677 GB, free: 10.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.8887, allocations: 8 kB / 0.5677 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.8891, allocations: 118.5 kB / 0.5678 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.8905, allocations: 0.6405 MB / 0.5685 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.8906, allocations: 20 kB / 0.5685 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.8907, allocations: 43.91 kB / 0.5685 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008903/0.8916, allocations: 394.6 kB / 0.5689 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.8926, allocations: 0.5804 MB / 0.5695 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.8927, allocations: 0 / 0.5695 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.8927, allocations: 4 kB / 0.5695 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.8928, allocations: 16 kB / 0.5695 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/0.8967, allocations: 2.668 MB / 0.5721 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.8978, allocations: 0.515 MB / 0.5726 GB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.8981, allocations: 218.1 kB / 0.5728 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-05/0.8982, allocations: 11.98 kB / 0.5728 GB, free: 4.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.8982, allocations: 46.55 kB / 0.5729 GB, free: 4.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 3.927e-06/0.8982, allocations: 3.938 kB / 0.5729 GB, free: 4.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.000941/0.8992, allocations: 456.5 kB / 0.5733 GB, free: 4.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.8993, allocations: 243.3 kB / 0.5735 GB, free: 3.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/0.9, allocations: 0.5318 MB / 0.574 GB, free: 3.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.9001, allocations: 25.7 kB / 0.5741 GB, free: 3.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.9003, allocations: 292.1 kB / 0.5743 GB, free: 2.977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.9005, allocations: 181.3 kB / 0.5745 GB, free: 2.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.9005, allocations: 0 / 0.5745 GB, free: 2.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9006, allocations: 326 kB / 0.5748 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.9009, allocations: 149.3 kB / 0.575 GB, free: 2.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.9013, allocations: 283.8 kB / 0.5752 GB, free: 1.996 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.9017, allocations: 190 kB / 0.5754 GB, free: 1.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.9017, allocations: 4 kB / 0.5754 GB, free: 1.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002113/0.9038, allocations: 0.8561 MB / 0.5763 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000555/0.9044, allocations: 1.135 MB / 0.5774 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.9044, allocations: 0 / 0.5774 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.9055, allocations: 263.2 kB / 0.5776 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.9061, allocations: 131.8 kB / 0.5777 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/0.9105, allocations: 3.663 MB / 0.5813 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.9114, allocations: 75.7 kB / 0.5814 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/0.9115, allocations: 20.06 kB / 0.5814 GB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.9115, allocations: 7.906 kB / 0.5814 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001353/0.9129, allocations: 0.5078 MB / 0.5819 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9129, allocations: 4 kB / 0.5819 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/0.9134, allocations: 129.8 kB / 0.582 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/0.9142, allocations: 175.8 kB / 0.5822 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.9174, allocations: 3.02 MB / 0.5852 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.918, allocations: 59.62 kB / 0.5852 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.9181, allocations: 24.06 kB / 0.5852 GB, free: 7.203 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002674/0.9184, allocations: 121.6 kB / 0.5854 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.9187, allocations: 86.88 kB / 0.5854 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.919, allocations: 90.72 kB / 0.5855 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.919, allocations: 12 kB / 0.5855 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.919, allocations: 0 / 0.5855 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.919, allocations: 3.984 kB / 0.5855 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.9202, allocations: 0.6458 MB / 0.5862 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9202, allocations: 0 / 0.5862 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.9209, allocations: 135.8 kB / 0.5863 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.9209, allocations: 11.84 kB / 0.5863 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.9209, allocations: 8 kB / 0.5863 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.921, allocations: 0 / 0.5863 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.921, allocations: 4 kB / 0.5863 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001327/0.9223, allocations: 1.035 MB / 0.5873 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001826/0.9241, allocations: 1.671 MB / 0.589 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.9245, allocations: 207.9 kB / 0.5892 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.9246, allocations: 8 kB / 0.5892 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.9252, allocations: 47.95 kB / 0.5892 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.9253, allocations: 35.86 kB / 0.5893 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.9254, allocations: 12 kB / 0.5893 GB, free: 2.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005726/0.926, allocations: 407.2 kB / 0.5897 GB, free: 2.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002364/0.9283, allocations: 254.8 kB / 0.5899 GB, free: 2.285 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002128/0.9286, allocations: 115.1 kB / 0.59 GB, free: 2.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004186/0.9327, allocations: 1.438 MB / 0.5914 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9328, allocations: 0 / 0.5914 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003865/0.9332, allocations: 224.8 kB / 0.5916 GB, free: 492 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.9346, allocations: 184.6 kB / 0.5918 GB, free: 308 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.9376, allocations: 1.13 MB / 0.5929 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008363/0.9384, allocations: 1.071 MB / 0.594 GB, free: 14.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.9384, allocations: 0 / 0.594 GB, free: 14.02 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat