Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.002947/0.002947, allocations: 181.6 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7453/0.7453, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 92.33 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4389/0.4398, allocations: 88.44 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.6156, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.796, allocations: 363.1 MB / 0.9879 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/1.796, allocations: 99.28 kB / 0.988 GB, free: 203.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.3489/2.145, allocations: 179 MB / 1.163 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/2.145, allocations: 8 kB / 1.163 GB, free: 75.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/2.146, allocations: 59.34 kB / 1.163 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/2.146, allocations: 459.5 kB / 1.163 GB, free: 74.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/2.146, allocations: 8 kB / 1.163 GB, free: 74.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/2.147, allocations: 16 kB / 1.163 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002715/2.147, allocations: 144.9 kB / 1.163 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/2.147, allocations: 236.3 kB / 1.164 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/2.147, allocations: 0 / 1.164 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/2.147, allocations: 0 / 1.164 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/2.147, allocations: 15.98 kB / 1.164 GB, free: 74.56 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/2.149, allocations: 1.452 MB / 1.165 GB, free: 73.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/2.149, allocations: 135 kB / 1.165 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/2.149, allocations: 72.84 kB / 1.165 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/2.151, allocations: 1.355 MB / 1.167 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/2.151, allocations: 34.56 kB / 1.167 GB, free: 71.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/2.151, allocations: 0 / 1.167 GB, free: 71.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0004861/2.151, allocations: 181 kB / 1.167 GB, free: 71.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/2.151, allocations: 55.41 kB / 1.167 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/2.152, allocations: 469.3 kB / 1.167 GB, free: 70.49 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/2.152, allocations: 29.7 kB / 1.167 GB, free: 70.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/2.152, allocations: 204 kB / 1.168 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/2.152, allocations: 59.19 kB / 1.168 GB, free: 70.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/2.152, allocations: 0 / 1.168 GB, free: 70.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/2.152, allocations: 354.8 kB / 1.168 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/2.152, allocations: 52.55 kB / 1.168 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/2.152, allocations: 209 kB / 1.168 GB, free: 69.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/2.152, allocations: 111 kB / 1.168 GB, free: 69.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/2.152, allocations: 0 / 1.168 GB, free: 69.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004495/2.153, allocations: 261.1 kB / 1.169 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/2.153, allocations: 0.9676 MB / 1.17 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/2.153, allocations: 0 / 1.17 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/2.153, allocations: 4 kB / 1.17 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/2.153, allocations: 67.84 kB / 1.17 GB, free: 68.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/2.153, allocations: 7.984 kB / 1.17 GB, free: 68.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/2.154, allocations: 43.67 kB / 1.17 GB, free: 67.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/2.154, allocations: 23.92 kB / 1.17 GB, free: 67.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.291e-06/2.154, allocations: 4 kB / 1.17 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003719/2.154, allocations: 191.8 kB / 1.17 GB, free: 67.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/2.154, allocations: 4 kB / 1.17 GB, free: 67.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.399e-06/2.154, allocations: 4 kB / 1.17 GB, free: 67.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/2.154, allocations: 63.91 kB / 1.17 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/2.154, allocations: 4 kB / 1.17 GB, free: 67.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/2.155, allocations: 47.55 kB / 1.17 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/2.155, allocations: 19.98 kB / 1.17 GB, free: 67.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.371e-05/2.155, allocations: 108.9 kB / 1.17 GB, free: 67.53 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/2.155, allocations: 43.44 kB / 1.17 GB, free: 67.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/2.155, allocations: 253.3 kB / 1.17 GB, free: 67.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/2.155, allocations: 4 kB / 1.17 GB, free: 67.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.155, allocations: 0 / 1.17 GB, free: 67.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/2.155, allocations: 0 / 1.17 GB, free: 67.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/2.156, allocations: 0.6852 MB / 1.171 GB, free: 66.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/2.156, allocations: 0 / 1.171 GB, free: 66.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/2.156, allocations: 31.98 kB / 1.171 GB, free: 66.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/2.156, allocations: 0 / 1.171 GB, free: 66.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/2.156, allocations: 11.98 kB / 1.171 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/2.156, allocations: 7.906 kB / 1.171 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.156, allocations: 0 / 1.171 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003841/2.157, allocations: 373.2 kB / 1.171 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004579/2.157, allocations: 0.7747 MB / 1.172 GB, free: 65.19 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/2.157, allocations: 152.4 kB / 1.172 GB, free: 65.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/2.158, allocations: 0 / 1.172 GB, free: 65.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/2.158, allocations: 23.98 kB / 1.172 GB, free: 65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/2.158, allocations: 16.08 kB / 1.172 GB, free: 64.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/2.158, allocations: 4 kB / 1.172 GB, free: 64.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003114/2.158, allocations: 366.9 kB / 1.173 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002135/2.16, allocations: 339.5 kB / 1.173 GB, free: 64.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001002/2.161, allocations: 0.5253 MB / 1.174 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004436/2.162, allocations: 287.2 kB / 1.174 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/2.162, allocations: 0 / 1.174 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.985e-05/2.162, allocations: 76.11 kB / 1.174 GB, free: 63.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/2.163, allocations: 209.3 kB / 1.174 GB, free: 63.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/2.164, allocations: 0.5676 MB / 1.175 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/2.164, allocations: 0.9091 MB / 1.176 GB, free: 61.77 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/2.164, allocations: 0 / 1.176 GB, free: 61.77 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)