Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",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 trunk/package.mo): time 0.001021/0.001021, allocations: 197.3 kB / 8.538 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.145/1.145, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008749/0.0008749, allocations: 102.5 kB / 286.3 MB, free: 5.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1641/0.1641, allocations: 45.15 MB / 383.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1876/0.3517, allocations: 69.35 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.4437, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/0.7024, allocations: 97.19 MB / 0.5988 GB, free: 5.785 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001609/0.7026, allocations: 69.09 kB / 0.5988 GB, free: 5.754 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.07867/0.7813, allocations: 28.42 MB / 0.6266 GB, free: 13.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.7813, allocations: 12 kB / 0.6266 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003485/0.7817, allocations: 107 kB / 0.6267 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009295/0.7826, allocations: 0.5515 MB / 0.6272 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.7827, allocations: 15.98 kB / 0.6272 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.7828, allocations: 39.89 kB / 0.6273 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006036/0.7834, allocations: 336.4 kB / 0.6276 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.7841, allocations: 0.4931 MB / 0.6281 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.7841, allocations: 4 kB / 0.6281 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.7842, allocations: 0 / 0.6281 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.7842, allocations: 12 kB / 0.6281 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.7875, allocations: 2.579 MB / 0.6306 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/0.7882, allocations: 445.6 kB / 0.631 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.7885, allocations: 195.8 kB / 0.6312 GB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.7885, allocations: 7.938 kB / 0.6312 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.7886, allocations: 41.75 kB / 0.6313 GB, free: 9.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.7886, allocations: 0 / 0.6313 GB, free: 9.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001311/0.7899, allocations: 0.7697 MB / 0.632 GB, free: 9.008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.7899, allocations: 132.5 kB / 0.6322 GB, free: 8.848 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.7905, allocations: 0.4961 MB / 0.6326 GB, free: 8.457 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.7905, allocations: 25.7 kB / 0.6327 GB, free: 8.426 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.7907, allocations: 250.6 kB / 0.6329 GB, free: 8.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.7908, allocations: 160.6 kB / 0.6331 GB, free: 8.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.7909, allocations: 0 / 0.6331 GB, free: 8.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.791, allocations: 387.4 kB / 0.6334 GB, free: 7.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.7914, allocations: 198.4 kB / 0.6336 GB, free: 7.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.7918, allocations: 351.2 kB / 0.634 GB, free: 7.262 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.7922, allocations: 249.1 kB / 0.6342 GB, free: 7.094 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7922, allocations: 4 kB / 0.6342 GB, free: 7.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009638/0.7932, allocations: 0.6214 MB / 0.6348 GB, free: 6.602 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006204/0.7938, allocations: 1.74 MB / 0.6365 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7938, allocations: 8 kB / 0.6365 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7938, allocations: 8 kB / 0.6365 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.7946, allocations: 163.3 kB / 0.6367 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.7946, allocations: 11.94 kB / 0.6367 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.7952, allocations: 91.03 kB / 0.6368 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.7953, allocations: 27.06 kB / 0.6368 GB, free: 4.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.7953, allocations: 6.812 kB / 0.6368 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008254/0.7961, allocations: 0.5181 MB / 0.6373 GB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.7961, allocations: 4 kB / 0.6373 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.7962, allocations: 11.94 kB / 0.6373 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.7968, allocations: 159.3 kB / 0.6375 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.7969, allocations: 11.98 kB / 0.6375 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.7974, allocations: 71.69 kB / 0.6376 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.7975, allocations: 26.48 kB / 0.6376 GB, free: 3.809 MB / 426.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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0001465/0.7976, allocations: 131.6 kB / 0.6377 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.7978, allocations: 67.16 kB / 0.6378 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.7979, allocations: 87.38 kB / 0.6379 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.798, allocations: 4 kB / 0.6379 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.798, allocations: 0 / 0.6379 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.798, allocations: 0 / 0.6379 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.7991, allocations: 0.7532 MB / 0.6386 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7991, allocations: 4 kB / 0.6386 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/0.7999, allocations: 123.2 kB / 0.6387 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.7999, allocations: 4 kB / 0.6387 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.7999, allocations: 7.875 kB / 0.6387 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.7999, allocations: 3.984 kB / 0.6387 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8, allocations: 4 kB / 0.6387 GB, free: 2.777 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001129/0.8011, allocations: 0.9628 MB / 0.6397 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001553/0.8027, allocations: 1.597 MB / 0.6412 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.8029, allocations: 190.3 kB / 0.6414 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.803, allocations: 11.86 kB / 0.6414 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.8037, allocations: 55.95 kB / 0.6415 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.8038, allocations: 39.62 kB / 0.6415 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.8038, allocations: 11.56 kB / 0.6415 GB, free: 392 kB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003954/0.8042, allocations: 386.8 kB / 0.6419 GB, free: 104 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.002036/0.8063, allocations: 171.7 kB / 0.6421 GB, free: 15.93 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.000147/0.8064, allocations: 111.1 kB / 0.6422 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.8076, allocations: 0.8015 MB / 0.6429 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8076, allocations: 0 / 0.6429 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.808, allocations: 213.4 kB / 0.6432 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.8088, allocations: 163.3 kB / 0.6433 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.8112, allocations: 1.199 MB / 0.6445 GB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007658/0.812, allocations: 1.052 MB / 0.6455 GB, free: 12.78 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.812, allocations: 0 / 0.6455 GB, free: 12.78 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat