Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",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.7439/0.7439, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.001779/0.00178, allocations: 189.3 kB / 164.4 MB, free: 6.859 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.789/1.789, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.0009966/0.000996, allocations: 94.36 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3521/0.3531, allocations: 82.87 MB / 0.546 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.6136, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.379/5.993, allocations: 2.182 GB / 2.803 GB, free: 29.87 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/5.993, allocations: 85.5 kB / 2.803 GB, free: 29.79 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 5.561/11.55, allocations: 1.437 GB / 4.24 GB, free: 72.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/11.55, allocations: 9.625 kB / 4.24 GB, free: 72.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003737/11.56, allocations: 0.5304 MB / 4.241 GB, free: 72.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/11.56, allocations: 1.252 MB / 4.242 GB, free: 71.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009653/11.56, allocations: 267.5 kB / 4.242 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/11.56, allocations: 59.22 kB / 4.242 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002026/11.57, allocations: 0.7318 MB / 4.243 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/11.57, allocations: 1.073 MB / 4.244 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/11.57, allocations: 3.844 kB / 4.244 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/11.57, allocations: 3.719 kB / 4.244 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/11.57, allocations: 42.47 kB / 4.244 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009481/11.58, allocations: 6.457 MB / 4.25 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008491/11.58, allocations: 483.5 kB / 4.251 GB, free: 67.04 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/11.58, allocations: 182.4 kB / 4.251 GB, free: 67.03 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/11.58, allocations: 373.9 kB / 4.251 GB, free: 66.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/11.58, allocations: 39 kB / 4.251 GB, free: 66.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 3.165e-06/11.58, allocations: 0 / 4.251 GB, free: 66.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.002113/11.58, allocations: 0.5593 MB / 4.252 GB, free: 66.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/11.58, allocations: 59.09 kB / 4.252 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/11.58, allocations: 0.8201 MB / 4.253 GB, free: 66.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.526e-05/11.58, allocations: 27.08 kB / 4.253 GB, free: 66.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/11.58, allocations: 0.5225 MB / 4.253 GB, free: 65.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/11.58, allocations: 107.7 kB / 4.253 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/11.58, allocations: 0 / 4.253 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/11.58, allocations: 332.2 kB / 4.254 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/11.59, allocations: 199 kB / 4.254 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/11.59, allocations: 0.5465 MB / 4.254 GB, free: 65.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/11.59, allocations: 306.7 kB / 4.255 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/11.59, allocations: 2.812 kB / 4.255 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001921/11.59, allocations: 0.7574 MB / 4.255 GB, free: 64.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001393/11.59, allocations: 3.93 MB / 4.259 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.523e-05/11.59, allocations: 12.41 kB / 4.259 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.744e-05/11.59, allocations: 15.34 kB / 4.259 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/11.59, allocations: 224.2 kB / 4.259 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.121e-05/11.59, allocations: 21.22 kB / 4.26 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/11.59, allocations: 195.5 kB / 4.26 GB, free: 60.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/11.59, allocations: 40.11 kB / 4.26 GB, free: 60.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/11.59, allocations: 3.844 kB / 4.26 GB, free: 60.83 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001419/11.59, allocations: 0.603 MB / 4.26 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/11.59, allocations: 13.38 kB / 4.26 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/11.59, allocations: 15.38 kB / 4.26 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/11.6, allocations: 216.3 kB / 4.261 GB, free: 60.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.16e-05/11.6, allocations: 21.81 kB / 4.261 GB, free: 60.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/11.6, allocations: 144.4 kB / 4.261 GB, free: 60.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/11.6, allocations: 39.53 kB / 4.261 GB, free: 60.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0002533/11.6, allocations: 133.9 kB / 4.261 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/11.6, allocations: 110.5 kB / 4.261 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/11.6, allocations: 0.4961 MB / 4.261 GB, free: 60.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/11.6, allocations: 3.375 kB / 4.261 GB, free: 60.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/11.6, allocations: 3.938 kB / 4.261 GB, free: 60.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/11.6, allocations: 2.531 kB / 4.261 GB, free: 60.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00452/11.6, allocations: 1.665 MB / 4.263 GB, free: 60.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/11.6, allocations: 2.5 kB / 4.263 GB, free: 60.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/11.6, allocations: 121.3 kB / 4.263 GB, free: 60 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/11.6, allocations: 5.844 kB / 4.263 GB, free: 60 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/11.6, allocations: 14.34 kB / 4.263 GB, free: 60 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/11.6, allocations: 10.81 kB / 4.263 GB, free: 59.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/11.6, allocations: 4.969 kB / 4.263 GB, free: 59.99 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001499/11.61, allocations: 0.8363 MB / 4.264 GB, free: 59.45 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002247/11.61, allocations: 1.417 MB / 4.265 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/11.61, allocations: 260.6 kB / 4.266 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/11.61, allocations: 5.062 kB / 4.266 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/11.61, allocations: 119.7 kB / 4.266 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/11.61, allocations: 31.56 kB / 4.266 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/11.61, allocations: 24.94 kB / 4.266 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001773/11.61, allocations: 0.6147 MB / 4.266 GB, free: 58.26 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0104/11.62, allocations: 1.616 MB / 4.268 GB, free: 57.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 31 * 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.00692/11.63, allocations: 3.55 MB / 4.272 GB, free: 56.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002358/11.63, allocations: 0.8164 MB / 4.272 GB, free: 56.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/11.63, allocations: 3.344 kB / 4.272 GB, free: 56.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/11.63, allocations: 184 kB / 4.272 GB, free: 55.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/11.64, allocations: 400.9 kB / 4.273 GB, free: 55.87 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/11.64, allocations: 1.679 MB / 4.275 GB, free: 55.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/11.64, allocations: 1.306 MB / 4.276 GB, free: 54.42 MB / 0.6823 GB Notification: Performance of SimCode: time 1.233e-06/11.64, allocations: 0.9062 kB / 4.276 GB, free: 54.42 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)