Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_SimpleOpeningComp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_SimpleOpeningComp",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.002848/0.002848, allocations: 181.4 kB / 7.459 MB, free: 2.16 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.103/1.103, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.00096/0.00096, allocations: 86.52 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06158/0.06158, allocations: 10.87 MB / 319.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01723/0.01723, allocations: 4.153 MB / 374.2 MB, free: 79.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0956/0.1129, allocations: 57.61 MB / 431.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.2055, allocations: 50.76 MB / 482.5 MB, free: 2.961 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.321, allocations: 0.6913 GB / 1.163 GB, free: 16.84 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/1.322, allocations: 79.17 kB / 1.163 GB, free: 16.77 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.3905/1.712, allocations: 111.1 MB / 1.271 GB, free: 96.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.712, allocations: 17.5 kB / 1.271 GB, free: 96.87 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.712, allocations: 27.7 kB / 1.271 GB, free: 96.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/1.713, allocations: 264 kB / 1.271 GB, free: 96.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.713, allocations: 8 kB / 1.271 GB, free: 96.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/1.713, allocations: 12 kB / 1.271 GB, free: 96.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004546/1.713, allocations: 276.9 kB / 1.272 GB, free: 96.26 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/1.714, allocations: 308.1 kB / 1.272 GB, free: 95.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.714, allocations: 0 / 1.272 GB, free: 95.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/1.714, allocations: 0 / 1.272 GB, free: 95.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/1.714, allocations: 4 kB / 1.272 GB, free: 95.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/1.715, allocations: 1.409 MB / 1.273 GB, free: 94.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/1.716, allocations: 232 kB / 1.274 GB, free: 94.17 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/1.716, allocations: 134.5 kB / 1.274 GB, free: 94.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/1.716, allocations: 93.02 kB / 1.274 GB, free: 93.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/1.716, allocations: 42.55 kB / 1.274 GB, free: 93.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/1.716, allocations: 0 / 1.274 GB, free: 93.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007144/1.717, allocations: 260.8 kB / 1.274 GB, free: 93.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/1.717, allocations: 110.8 kB / 1.274 GB, free: 93.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/1.717, allocations: 157.8 kB / 1.274 GB, free: 93.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.717, allocations: 29.77 kB / 1.274 GB, free: 93.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/1.717, allocations: 148 kB / 1.274 GB, free: 93.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/1.717, allocations: 66.92 kB / 1.275 GB, free: 93.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/1.717, allocations: 0 / 1.275 GB, free: 93.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/1.717, allocations: 330.8 kB / 1.275 GB, free: 92.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/1.717, allocations: 88.45 kB / 1.275 GB, free: 92.65 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/1.718, allocations: 141.1 kB / 1.275 GB, free: 92.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/1.718, allocations: 136.8 kB / 1.275 GB, free: 92.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.718, allocations: 0 / 1.275 GB, free: 92.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006555/1.719, allocations: 307.7 kB / 1.275 GB, free: 92.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.719, allocations: 7.906 kB / 1.275 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.719, allocations: 4 kB / 1.275 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.719, allocations: 4.125 kB / 1.275 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/1.719, allocations: 79.86 kB / 1.276 GB, free: 91.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.719, allocations: 4 kB / 1.276 GB, free: 91.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/1.719, allocations: 35.83 kB / 1.276 GB, free: 91.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/1.719, allocations: 15.98 kB / 1.276 GB, free: 91.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 7.815e-05/1.72, allocations: 116.6 kB / 1.276 GB, free: 91.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/1.72, allocations: 23.72 kB / 1.276 GB, free: 91.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007823/1.72, allocations: 348.7 kB / 1.276 GB, free: 91.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.72, allocations: 4 kB / 1.276 GB, free: 91.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.72, allocations: 7.844 kB / 1.276 GB, free: 91.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005806/1.721, allocations: 0.5902 MB / 1.277 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/1.722, allocations: 1.046 MB / 1.278 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.722, allocations: 4 kB / 1.278 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/1.723, allocations: 84.06 kB / 1.278 GB, free: 89.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.723, allocations: 0 / 1.278 GB, free: 89.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/1.723, allocations: 19.83 kB / 1.278 GB, free: 89.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.723, allocations: 4 kB / 1.278 GB, free: 89.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.723, allocations: 8 kB / 1.278 GB, free: 89.49 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006478/1.723, allocations: 0.4983 MB / 1.278 GB, free: 88.93 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007458/1.724, allocations: 0.8927 MB / 1.279 GB, free: 87.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.724, allocations: 136.8 kB / 1.279 GB, free: 87.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/1.724, allocations: 3.984 kB / 1.279 GB, free: 87.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/1.725, allocations: 27.98 kB / 1.279 GB, free: 87.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/1.725, allocations: 23.88 kB / 1.279 GB, free: 87.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/1.725, allocations: 15.98 kB / 1.279 GB, free: 87.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.536e-05/1.725, allocations: 128.3 kB / 1.279 GB, free: 87.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001325/1.726, allocations: 259.7 kB / 1.28 GB, free: 87.36 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0009603/1.727, allocations: 0.745 MB / 1.28 GB, free: 86.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004098/1.728, allocations: 246.2 kB / 1.281 GB, free: 86.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.728, allocations: 0 / 1.281 GB, free: 86.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/1.728, allocations: 139.8 kB / 1.281 GB, free: 86.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/1.728, allocations: 56.48 kB / 1.281 GB, free: 86.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/1.731, allocations: 0.6837 MB / 1.282 GB, free: 85.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/1.732, allocations: 0.8181 MB / 1.282 GB, free: 84.7 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/1.732, allocations: 0 / 1.282 GB, free: 84.7 MB / 458.7 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_SimpleOpeningComp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_SimpleOpeningComp.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.pipe 2>&1)