Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",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 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 190.5 kB / 8.522 MB, free: 1.699 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.136/1.136, allocations: 221.4 MB / 230.3 MB, free: 7.641 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 86.09 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1555/0.1555, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1729/0.3284, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.4222, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2488/0.671, allocations: 95.95 MB / 0.5879 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.6712, allocations: 67.97 kB / 0.5879 GB, free: 0.7031 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.06072/0.7319, allocations: 20.63 MB / 0.6081 GB, free: 11.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.732, allocations: 15.94 kB / 0.6081 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.7321, allocations: 90.88 kB / 0.6082 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009551/0.7331, allocations: 0.5586 MB / 0.6087 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.7332, allocations: 16 kB / 0.6087 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.7332, allocations: 39.84 kB / 0.6088 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006121/0.7339, allocations: 337.9 kB / 0.6091 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.7346, allocations: 0.4907 MB / 0.6096 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.7346, allocations: 7.984 kB / 0.6096 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.7347, allocations: 4 kB / 0.6096 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.7347, allocations: 12 kB / 0.6096 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/0.738, allocations: 2.565 MB / 0.6121 GB, free: 7.664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.7387, allocations: 456 kB / 0.6125 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.739, allocations: 182.6 kB / 0.6127 GB, free: 7.004 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.739, allocations: 7.984 kB / 0.6127 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.7391, allocations: 43.28 kB / 0.6128 GB, free: 6.945 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.7391, allocations: 0 / 0.6128 GB, free: 6.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001269/0.7403, allocations: 0.7761 MB / 0.6135 GB, free: 6.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.7404, allocations: 136.5 kB / 0.6137 GB, free: 5.992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.7409, allocations: 0.4958 MB / 0.6141 GB, free: 5.492 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.741, allocations: 25.7 kB / 0.6142 GB, free: 5.461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.7411, allocations: 252.6 kB / 0.6144 GB, free: 5.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.7413, allocations: 161.6 kB / 0.6146 GB, free: 5.047 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.7413, allocations: 0 / 0.6146 GB, free: 5.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7415, allocations: 382.8 kB / 0.6149 GB, free: 4.664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.7418, allocations: 193.3 kB / 0.6151 GB, free: 4.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.7422, allocations: 344.1 kB / 0.6154 GB, free: 4.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.7426, allocations: 227.3 kB / 0.6157 GB, free: 3.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7426, allocations: 4 kB / 0.6157 GB, free: 3.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001077/0.7437, allocations: 0.659 MB / 0.6163 GB, free: 3.184 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005365/0.7442, allocations: 1.734 MB / 0.618 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.7443, allocations: 4 kB / 0.618 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.7445, allocations: 60.81 kB / 0.6181 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/0.7455, allocations: 219.7 kB / 0.6183 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.7466, allocations: 1.429 MB / 0.6197 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/0.7472, allocations: 87.66 kB / 0.6197 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.7473, allocations: 24 kB / 0.6198 GB, free: 15.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.7473, allocations: 9.094 kB / 0.6198 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008917/0.7482, allocations: 0.5312 MB / 0.6203 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.7482, allocations: 4.562 kB / 0.6203 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.7484, allocations: 64.81 kB / 0.6204 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009237/0.7493, allocations: 203.7 kB / 0.6206 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.7504, allocations: 1.435 MB / 0.622 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.7509, allocations: 75.78 kB / 0.622 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.751, allocations: 31.94 kB / 0.6221 GB, free: 12.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.7511, allocations: 124.6 kB / 0.6222 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.7513, allocations: 75.09 kB / 0.6222 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.7514, allocations: 81.78 kB / 0.6223 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.7514, allocations: 4 kB / 0.6223 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.7514, allocations: 4 kB / 0.6223 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7515, allocations: 3.906 kB / 0.6223 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009758/0.7524, allocations: 0.7484 MB / 0.6231 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7524, allocations: 0 / 0.6231 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/0.7532, allocations: 123.8 kB / 0.6232 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7532, allocations: 4 kB / 0.6232 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.7532, allocations: 12 kB / 0.6232 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.7533, allocations: 3.984 kB / 0.6232 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7533, allocations: 0 / 0.6232 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001092/0.7544, allocations: 0.9606 MB / 0.6241 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001503/0.7559, allocations: 1.599 MB / 0.6257 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.7561, allocations: 196 kB / 0.6259 GB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.7562, allocations: 15.98 kB / 0.6259 GB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.7569, allocations: 51.95 kB / 0.626 GB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.757, allocations: 39.94 kB / 0.626 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.757, allocations: 12 kB / 0.626 GB, free: 8.727 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003895/0.7574, allocations: 383.1 kB / 0.6264 GB, free: 8.359 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001881/0.7593, allocations: 175.9 kB / 0.6265 GB, free: 8.188 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.0001392/0.7594, allocations: 111 kB / 0.6266 GB, free: 8.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.761, allocations: 0.998 MB / 0.6276 GB, free: 7.051 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.761, allocations: 0 / 0.6276 GB, free: 7.051 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.7614, allocations: 216.1 kB / 0.6278 GB, free: 6.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.7622, allocations: 160.3 kB / 0.628 GB, free: 6.688 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.7645, allocations: 1.205 MB / 0.6292 GB, free: 5.449 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/0.7652, allocations: 1.05 MB / 0.6302 GB, free: 4.363 MB / 442.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7653, allocations: 0 / 0.6302 GB, free: 4.363 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat