Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",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.001328/0.001328, allocations: 189.7 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4494/0.4494, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 221.4 MB / 342.7 MB, free: 5.414 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.0009861, allocations: 89.98 kB / 415.5 MB, free: 9.852 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1757/0.1768, allocations: 78.45 MB / 494 MB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.5143, allocations: 72.3 MB / 0.553 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.594/1.108, allocations: 352.6 MB / 0.8973 GB, free: 5.012 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/1.109, allocations: 86.89 kB / 0.8974 GB, free: 4.969 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.7931/1.902, allocations: 259.8 MB / 1.151 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.902, allocations: 8 kB / 1.151 GB, free: 32.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/1.903, allocations: 195 kB / 1.151 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02798/1.931, allocations: 12.07 MB / 1.163 GB, free: 20.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/1.931, allocations: 96.61 kB / 1.163 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/1.931, allocations: 27.98 kB / 1.163 GB, free: 19.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006677/1.932, allocations: 293.5 kB / 1.164 GB, free: 19.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/1.933, allocations: 412.4 kB / 1.164 GB, free: 19.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.933, allocations: 0 / 1.164 GB, free: 19.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/1.933, allocations: 0 / 1.164 GB, free: 19.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/1.933, allocations: 20.64 kB / 1.164 GB, free: 19.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/1.936, allocations: 2.223 MB / 1.166 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/1.937, allocations: 262.9 kB / 1.166 GB, free: 16.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/1.937, allocations: 178 kB / 1.167 GB, free: 16.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/1.937, allocations: 340.7 kB / 1.167 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/1.938, allocations: 246.7 kB / 1.167 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/1.938, allocations: 0 / 1.167 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001189/1.939, allocations: 438 kB / 1.168 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.939, allocations: 85.11 kB / 1.168 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/1.94, allocations: 369.3 kB / 1.168 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/1.94, allocations: 29.7 kB / 1.168 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.94, allocations: 204.3 kB / 1.168 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.94, allocations: 106.5 kB / 1.168 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/1.94, allocations: 0 / 1.168 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.94, allocations: 366.7 kB / 1.169 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/1.94, allocations: 120 kB / 1.169 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/1.941, allocations: 223.4 kB / 1.169 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/1.941, allocations: 163.9 kB / 1.169 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.941, allocations: 0 / 1.169 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009932/1.942, allocations: 477.6 kB / 1.17 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/1.942, allocations: 0.6162 MB / 1.17 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.942, allocations: 4 kB / 1.17 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/1.942, allocations: 40.84 kB / 1.17 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/1.943, allocations: 91.88 kB / 1.17 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004636/1.943, allocations: 0.6031 MB / 1.171 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/1.944, allocations: 75.7 kB / 1.171 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/1.944, allocations: 23.98 kB / 1.171 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.944, allocations: 4 kB / 1.171 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007576/1.945, allocations: 372.3 kB / 1.171 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.945, allocations: 96 / 1.171 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/1.945, allocations: 52.95 kB / 1.171 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/1.945, allocations: 91.88 kB / 1.171 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.947, allocations: 1.501 MB / 1.173 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/1.947, allocations: 67.86 kB / 1.173 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/1.947, allocations: 20.05 kB / 1.173 GB, free: 9.305 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001638/1.947, allocations: 150.5 kB / 1.173 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/1.947, allocations: 51.34 kB / 1.173 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009575/1.948, allocations: 0.4942 MB / 1.174 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.948, allocations: 4 kB / 1.174 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/1.948, allocations: 0 / 1.174 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007581/1.949, allocations: 0.6593 MB / 1.174 GB, free: 7.859 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/1.951, allocations: 1.099 MB / 1.175 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.951, allocations: 0 / 1.175 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/1.951, allocations: 68.05 kB / 1.175 GB, free: 6.637 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-05/1.951, allocations: 44.84 kB / 1.176 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/1.952, allocations: 11.98 kB / 1.176 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002746/1.952, allocations: 0.5796 MB / 1.176 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.952, allocations: 4 kB / 1.176 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001097/1.953, allocations: 0.8041 MB / 1.177 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001476/1.954, allocations: 1.417 MB / 1.178 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/1.955, allocations: 188.3 kB / 1.178 GB, free: 3.445 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.955, allocations: 4 kB / 1.178 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/1.955, allocations: 59.91 kB / 1.179 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/1.956, allocations: 27.97 kB / 1.179 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/1.956, allocations: 23.92 kB / 1.179 GB, free: 3.332 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002879/1.956, allocations: 286.9 kB / 1.179 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002745/1.959, allocations: 439.3 kB / 1.179 GB, free: 2.625 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009742/1.96, allocations: 435 kB / 1.18 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.961, allocations: 0.7074 MB / 1.18 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.961, allocations: 0 / 1.18 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/1.961, allocations: 233.6 kB / 1.181 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/1.962, allocations: 219.5 kB / 1.181 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.964, allocations: 0.7861 MB / 1.182 GB, free: 208 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2645/2.229, allocations: 0.9471 MB / 1.182 GB, free: 186.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/2.229, allocations: 2.062 kB / 1.182 GB, free: 186.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)