Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",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.001011/0.001011, allocations: 198.8 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.094/1.094, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008443/0.0008444, allocations: 93.53 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.152/0.152, allocations: 45.13 MB / 383.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1889/0.341, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.4232, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.6638, allocations: 88.84 MB / 0.5906 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001628/0.664, allocations: 63.22 kB / 0.5907 GB, free: 13.97 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01773/0.6817, allocations: 7.51 MB / 0.598 GB, free: 7.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.6818, allocations: 8 kB / 0.598 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.682, allocations: 91.27 kB / 0.5981 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.6821, allocations: 242.3 kB / 0.5983 GB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.6821, allocations: 150.6 kB / 0.5985 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.6822, allocations: 150.6 kB / 0.5986 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.517e-05/0.6822, allocations: 150.6 kB / 0.5988 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.753e-05/0.6823, allocations: 115.9 kB / 0.5989 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.6823, allocations: 75.28 kB / 0.5989 GB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.6824, allocations: 154.6 kB / 0.5991 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.6824, allocations: 150.6 kB / 0.5992 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.6826, allocations: 422.5 kB / 0.5996 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/0.6827, allocations: 168.4 kB / 0.5998 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.6827, allocations: 84.14 kB / 0.5999 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.6828, allocations: 83.22 kB / 0.6 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.6828, allocations: 105.8 kB / 0.6001 GB, free: 5.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6828, allocations: 0.5625 kB / 0.6001 GB, free: 5.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.414e-05/0.6829, allocations: 25.7 kB / 0.6001 GB, free: 5.602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.6829, allocations: 102.8 kB / 0.6002 GB, free: 5.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.683, allocations: 95.94 kB / 0.6003 GB, free: 5.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.683, allocations: 25.7 kB / 0.6003 GB, free: 5.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.683, allocations: 80.14 kB / 0.6004 GB, free: 5.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-06/0.683, allocations: 3.938 kB / 0.6004 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-07/0.6831, allocations: 0 / 0.6004 GB, free: 5.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.6831, allocations: 318.7 kB / 0.6007 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-06/0.6832, allocations: 0 / 0.6007 GB, free: 4.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.6832, allocations: 17.84 kB / 0.6007 GB, free: 4.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.6832, allocations: 82.59 kB / 0.6008 GB, free: 4.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.6832, allocations: 75.28 kB / 0.6009 GB, free: 4.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.061e-05/0.6833, allocations: 29.7 kB / 0.6009 GB, free: 4.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.6833, allocations: 4 kB / 0.6009 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.6833, allocations: 79.22 kB / 0.601 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-05/0.6834, allocations: 158.5 kB / 0.6011 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.777e-05/0.6834, allocations: 79.31 kB / 0.6012 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-05/0.6835, allocations: 154.5 kB / 0.6013 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.6836, allocations: 89.44 kB / 0.6014 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.6836, allocations: 79.28 kB / 0.6015 GB, free: 4.098 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 8.209e-05/0.6837, allocations: 259.5 kB / 0.6017 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.6837, allocations: 108.2 kB / 0.6018 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.6838, allocations: 111.9 kB / 0.602 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.205e-05/0.6838, allocations: 176.3 kB / 0.6021 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.249e-05/0.6839, allocations: 180.3 kB / 0.6023 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.273e-05/0.6839, allocations: 184.2 kB / 0.6025 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.6841, allocations: 384.9 kB / 0.6028 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/0.6841, allocations: 105 kB / 0.6029 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.6841, allocations: 108.9 kB / 0.603 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.797e-05/0.6842, allocations: 176.3 kB / 0.6032 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.6843, allocations: 176.3 kB / 0.6034 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.005e-05/0.6843, allocations: 184.2 kB / 0.6036 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.207e-05/0.6844, allocations: 180.6 kB / 0.6037 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001061/0.6845, allocations: 306.5 kB / 0.604 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000201/0.6847, allocations: 0.6809 MB / 0.6047 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.6848, allocations: 186 kB / 0.6049 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.6848, allocations: 180.3 kB / 0.605 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.6849, allocations: 109 kB / 0.6051 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.685, allocations: 183.3 kB / 0.6053 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.685, allocations: 105 kB / 0.6054 GB, free: 15.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.607e-05/0.6851, allocations: 83.19 kB / 0.6055 GB, free: 15.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001029/0.6861, allocations: 204.9 kB / 0.6057 GB, free: 15.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0008334/0.6869, allocations: 0.5387 MB / 0.6062 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.51e-05/0.687, allocations: 8 kB / 0.6062 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.687, allocations: 0 / 0.6062 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.687, allocations: 0 / 0.6062 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.6872, allocations: 0.5258 MB / 0.6067 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001299/0.6874, allocations: 119.2 kB / 0.6068 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.6876, allocations: 0.688 MB / 0.6075 GB, free: 13.74 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6876, allocations: 0 / 0.6075 GB, free: 13.74 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat