Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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) 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) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation",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/BuildSysPro 3.5.0/package.mo): time 0.7263/0.7263, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 185.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 89.58 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.376/0.3771, allocations: 82.88 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.6052, allocations: 76.74 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/1.929, allocations: 322.7 MB / 0.9361 GB, free: 179.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.93, allocations: 67.95 kB / 0.9362 GB, free: 179.6 MB / 0.6198 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.2116/2.141, allocations: 100.7 MB / 1.035 GB, free: 77.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/2.141, allocations: 12 kB / 1.035 GB, free: 77.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/2.142, allocations: 39.61 kB / 1.035 GB, free: 77.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/2.142, allocations: 262.7 kB / 1.035 GB, free: 77.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/2.142, allocations: 12 kB / 1.035 GB, free: 77.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/2.142, allocations: 20 kB / 1.035 GB, free: 77.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003308/2.143, allocations: 132.9 kB / 1.035 GB, free: 77.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/2.143, allocations: 266.2 kB / 1.035 GB, free: 76.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/2.143, allocations: 4 kB / 1.035 GB, free: 76.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/2.143, allocations: 0 / 1.035 GB, free: 76.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/2.143, allocations: 11.94 kB / 1.035 GB, free: 76.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/2.145, allocations: 1.79 MB / 1.037 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/2.145, allocations: 77.7 kB / 1.037 GB, free: 74.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/2.146, allocations: 44.95 kB / 1.037 GB, free: 74.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/2.146, allocations: 7.984 kB / 1.037 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/2.146, allocations: 30.56 kB / 1.037 GB, free: 74.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.765e-06/2.146, allocations: 0 / 1.037 GB, free: 74.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.00127/2.147, allocations: 494 kB / 1.038 GB, free: 74.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/2.147, allocations: 51.41 kB / 1.038 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/2.147, allocations: 212 kB / 1.038 GB, free: 73.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/2.147, allocations: 25.7 kB / 1.038 GB, free: 73.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/2.147, allocations: 187.4 kB / 1.038 GB, free: 73.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/2.147, allocations: 59.19 kB / 1.038 GB, free: 73.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/2.147, allocations: 0 / 1.038 GB, free: 73.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001125/2.148, allocations: 332.3 kB / 1.038 GB, free: 73.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/2.148, allocations: 51.98 kB / 1.038 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/2.148, allocations: 145 kB / 1.039 GB, free: 72.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/2.148, allocations: 76.84 kB / 1.039 GB, free: 72.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.148, allocations: 7.938 kB / 1.039 GB, free: 72.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000433/2.148, allocations: 245.1 kB / 1.039 GB, free: 72.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/2.148, allocations: 8.062 kB / 1.039 GB, free: 72.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/2.148, allocations: 7.938 kB / 1.039 GB, free: 72.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/2.149, allocations: 24.84 kB / 1.039 GB, free: 72.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/2.149, allocations: 71.81 kB / 1.039 GB, free: 72.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/2.15, allocations: 1.232 MB / 1.04 GB, free: 71.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/2.15, allocations: 4 kB / 1.04 GB, free: 71.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/2.15, allocations: 23.89 kB / 1.04 GB, free: 71.18 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001623/2.15, allocations: 116.2 kB / 1.04 GB, free: 71.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/2.15, allocations: 23.72 kB / 1.04 GB, free: 71.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/2.15, allocations: 25.89 kB / 1.04 GB, free: 71.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/2.15, allocations: 4 kB / 1.04 GB, free: 71.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/2.151, allocations: 0 / 1.04 GB, free: 71.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002725/2.151, allocations: 442.7 kB / 1.041 GB, free: 70.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/2.152, allocations: 0.5185 MB / 1.041 GB, free: 69.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/2.152, allocations: 4 kB / 1.041 GB, free: 69.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/2.152, allocations: 31.92 kB / 1.041 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/2.152, allocations: 4 kB / 1.041 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/2.152, allocations: 7.938 kB / 1.041 GB, free: 69.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/2.152, allocations: 3.984 kB / 1.041 GB, free: 69.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/2.152, allocations: 4 kB / 1.041 GB, free: 69.86 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003705/2.152, allocations: 368.1 kB / 1.042 GB, free: 69.44 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005238/2.153, allocations: 0.7937 MB / 1.043 GB, free: 68.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/2.153, allocations: 100.8 kB / 1.043 GB, free: 68.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/2.153, allocations: 0 / 1.043 GB, free: 68.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/2.153, allocations: 15.97 kB / 1.043 GB, free: 68.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/2.153, allocations: 7.984 kB / 1.043 GB, free: 68.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/2.153, allocations: 15.98 kB / 1.043 GB, free: 68.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0001536/2.153, allocations: 156.5 kB / 1.043 GB, free: 68.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001113/2.154, allocations: 88 kB / 1.043 GB, free: 68.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0003043/2.155, allocations: 204.8 kB / 1.043 GB, free: 67.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004134/2.155, allocations: 237.7 kB / 1.043 GB, free: 67.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/2.155, allocations: 0 / 1.043 GB, free: 67.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/2.155, allocations: 47.88 kB / 1.043 GB, free: 67.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/2.156, allocations: 108.7 kB / 1.043 GB, free: 67.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/2.157, allocations: 393.6 kB / 1.044 GB, free: 67.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/2.157, allocations: 0.7903 MB / 1.045 GB, free: 66.34 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/2.157, allocations: 0 / 1.045 GB, free: 66.34 MB / 0.6198 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe 2>&1)