Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.003781/0.003781, allocations: 179 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7987/0.7987, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.313/1.313, allocations: 221.3 MB / 395 MB, free: 10.2 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.001127/0.001127, allocations: 86.53 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4515/0.4526, allocations: 88.45 MB / 0.553 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.6302, allocations: 82.29 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.72, allocations: 358.6 MB / 0.9835 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/1.72, allocations: 94.7 kB / 0.9836 GB, free: 263.7 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.3399/2.06, allocations: 178.5 MB / 1.158 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/2.06, allocations: 12 kB / 1.158 GB, free: 95.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/2.06, allocations: 55.28 kB / 1.158 GB, free: 95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/2.061, allocations: 429.5 kB / 1.158 GB, free: 94.54 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/2.061, allocations: 11.94 kB / 1.158 GB, free: 94.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/2.061, allocations: 16 kB / 1.158 GB, free: 94.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002459/2.061, allocations: 124.9 kB / 1.159 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/2.061, allocations: 166.4 kB / 1.159 GB, free: 94.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/2.061, allocations: 4 kB / 1.159 GB, free: 94.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/2.061, allocations: 0 / 1.159 GB, free: 94.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/2.061, allocations: 7.906 kB / 1.159 GB, free: 94.21 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/2.063, allocations: 0.8838 MB / 1.16 GB, free: 93.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/2.063, allocations: 118.5 kB / 1.16 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/2.063, allocations: 60.84 kB / 1.16 GB, free: 93.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/2.063, allocations: 336.4 kB / 1.16 GB, free: 92.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/2.063, allocations: 34.55 kB / 1.16 GB, free: 92.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/2.063, allocations: 0 / 1.16 GB, free: 92.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0004125/2.064, allocations: 165.3 kB / 1.16 GB, free: 92.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/2.064, allocations: 59.41 kB / 1.16 GB, free: 92.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/2.064, allocations: 365.1 kB / 1.161 GB, free: 92.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/2.064, allocations: 25.7 kB / 1.161 GB, free: 92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/2.064, allocations: 172.3 kB / 1.161 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/2.064, allocations: 43.36 kB / 1.161 GB, free: 91.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/2.064, allocations: 0 / 1.161 GB, free: 91.78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.052e-05/2.064, allocations: 346.8 kB / 1.161 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/2.064, allocations: 55.92 kB / 1.161 GB, free: 91.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/2.064, allocations: 152.6 kB / 1.161 GB, free: 91.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/2.065, allocations: 75.88 kB / 1.162 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/2.065, allocations: 7.984 kB / 1.162 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003759/2.065, allocations: 215.6 kB / 1.162 GB, free: 90.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/2.065, allocations: 274.8 kB / 1.162 GB, free: 90.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/2.065, allocations: 0 / 1.162 GB, free: 90.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/2.065, allocations: 4 kB / 1.162 GB, free: 90.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/2.065, allocations: 51.97 kB / 1.162 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/2.065, allocations: 0 / 1.162 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/2.066, allocations: 47.75 kB / 1.162 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/2.066, allocations: 11.98 kB / 1.162 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.393e-06/2.066, allocations: 4 kB / 1.162 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002941/2.066, allocations: 135.8 kB / 1.162 GB, free: 90.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/2.066, allocations: 0 / 1.162 GB, free: 90.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/2.066, allocations: 7.938 kB / 1.162 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/2.066, allocations: 59.84 kB / 1.162 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/2.066, allocations: 4 kB / 1.162 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/2.067, allocations: 35.81 kB / 1.162 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/2.067, allocations: 11.98 kB / 1.162 GB, free: 90.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001086/2.067, allocations: 112.8 kB / 1.162 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/2.067, allocations: 39.53 kB / 1.162 GB, free: 90.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/2.068, allocations: 223.8 kB / 1.163 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/2.068, allocations: 0 / 1.163 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/2.068, allocations: 3.906 kB / 1.163 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/2.068, allocations: 4 kB / 1.163 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/2.068, allocations: 0.6269 MB / 1.163 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/2.068, allocations: 4 kB / 1.163 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/2.069, allocations: 40.05 kB / 1.163 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/2.069, allocations: 4 kB / 1.163 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/2.069, allocations: 0 / 1.163 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/2.069, allocations: 7.984 kB / 1.163 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.069, allocations: 0 / 1.163 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003642/2.069, allocations: 349.1 kB / 1.164 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004329/2.069, allocations: 0.7398 MB / 1.164 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/2.07, allocations: 144.4 kB / 1.165 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/2.07, allocations: 4 kB / 1.165 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/2.07, allocations: 31.97 kB / 1.165 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/2.07, allocations: 15.89 kB / 1.165 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/2.07, allocations: 4 kB / 1.165 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002548/2.07, allocations: 295.1 kB / 1.165 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002137/2.072, allocations: 283.6 kB / 1.165 GB, free: 87.14 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 (16): * Single equations (assignments): 14 * 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.00112/2.074, allocations: 0.4957 MB / 1.166 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000438/2.074, allocations: 244.9 kB / 1.166 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.074, allocations: 0 / 1.166 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/2.074, allocations: 71.86 kB / 1.166 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/2.075, allocations: 179 kB / 1.166 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/2.076, allocations: 0.5045 MB / 1.167 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/2.077, allocations: 0.8737 MB / 1.167 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/2.077, allocations: 0 / 1.167 GB, free: 84.79 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)