Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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.7304/0.7304, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001237/0.001237, allocations: 189.2 kB / 164.4 MB, free: 6.875 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.786/1.786, allocations: 205.1 MB / 399.1 MB, free: 6.141 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.001003/0.001003, allocations: 85.72 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3896/0.3907, allocations: 82.88 MB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.5984, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.4/1.998, allocations: 388.2 MB / 1 GB, free: 94.56 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004223/1.999, allocations: 93.88 kB / 1 GB, free: 94.51 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 1.049/3.047, allocations: 279.5 MB / 1.273 GB, free: 87.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/3.048, allocations: 8 kB / 1.273 GB, free: 87.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/3.05, allocations: 294.6 kB / 1.273 GB, free: 87.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008483/3.059, allocations: 3.333 MB / 1.277 GB, free: 83.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/3.059, allocations: 16 kB / 1.277 GB, free: 83.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/3.059, allocations: 36 kB / 1.277 GB, free: 83.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001018/3.06, allocations: 418.4 kB / 1.277 GB, free: 83.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/3.061, allocations: 0.6025 MB / 1.278 GB, free: 82.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/3.061, allocations: 7.938 kB / 1.278 GB, free: 82.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/3.061, allocations: 3.906 kB / 1.278 GB, free: 82.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/3.061, allocations: 19.98 kB / 1.278 GB, free: 82.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005497/3.067, allocations: 3.952 MB / 1.282 GB, free: 78.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/3.067, allocations: 238.8 kB / 1.282 GB, free: 78.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/3.067, allocations: 108.8 kB / 1.282 GB, free: 78.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/3.068, allocations: 356.2 kB / 1.282 GB, free: 77.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/3.068, allocations: 38.56 kB / 1.282 GB, free: 77.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 3.828e-06/3.068, allocations: 0 / 1.282 GB, free: 77.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.00117/3.069, allocations: 365.8 kB / 1.283 GB, free: 77.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/3.069, allocations: 106.8 kB / 1.283 GB, free: 77.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/3.07, allocations: 474.3 kB / 1.283 GB, free: 76.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/3.07, allocations: 25.7 kB / 1.283 GB, free: 76.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/3.07, allocations: 331.2 kB / 1.284 GB, free: 76.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/3.07, allocations: 70.95 kB / 1.284 GB, free: 76.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/3.07, allocations: 0 / 1.284 GB, free: 76.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001117/3.07, allocations: 374.7 kB / 1.284 GB, free: 75.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/3.07, allocations: 112.8 kB / 1.284 GB, free: 75.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/3.071, allocations: 267 kB / 1.284 GB, free: 75.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/3.071, allocations: 183.8 kB / 1.285 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/3.071, allocations: 0 / 1.285 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001066/3.072, allocations: 497.3 kB / 1.285 GB, free: 74.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/3.072, allocations: 8 kB / 1.285 GB, free: 74.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/3.072, allocations: 4.594 kB / 1.285 GB, free: 74.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/3.073, allocations: 68.73 kB / 1.285 GB, free: 74.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/3.073, allocations: 127.8 kB / 1.285 GB, free: 74.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000446/3.074, allocations: 0.6381 MB / 1.286 GB, free: 73.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/3.075, allocations: 103.5 kB / 1.286 GB, free: 73.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/3.075, allocations: 24.05 kB / 1.286 GB, free: 73.85 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001423/3.075, allocations: 108.9 kB / 1.286 GB, free: 73.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/3.075, allocations: 59.25 kB / 1.286 GB, free: 73.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/3.076, allocations: 471.5 kB / 1.287 GB, free: 73.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/3.076, allocations: 4 kB / 1.287 GB, free: 73.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/3.076, allocations: 3.906 kB / 1.287 GB, free: 73.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000761/3.077, allocations: 0.5815 MB / 1.287 GB, free: 72.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/3.079, allocations: 0.962 MB / 1.288 GB, free: 71.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/3.079, allocations: 0 / 1.288 GB, free: 71.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/3.079, allocations: 71.91 kB / 1.288 GB, free: 71.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/3.08, allocations: 56.86 kB / 1.288 GB, free: 71.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/3.08, allocations: 11.97 kB / 1.288 GB, free: 71.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003831/3.08, allocations: 0.6304 MB / 1.289 GB, free: 70.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/3.08, allocations: 0 / 1.289 GB, free: 70.74 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00102/3.081, allocations: 0.6481 MB / 1.29 GB, free: 70.06 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001393/3.082, allocations: 1.205 MB / 1.291 GB, free: 68.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/3.083, allocations: 188.2 kB / 1.291 GB, free: 68.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/3.083, allocations: 4 kB / 1.291 GB, free: 68.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/3.084, allocations: 60 kB / 1.291 GB, free: 68.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/3.084, allocations: 15.88 kB / 1.291 GB, free: 68.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/3.084, allocations: 19.97 kB / 1.291 GB, free: 68.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004235/3.084, allocations: 358.9 kB / 1.291 GB, free: 68.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002/3.086, allocations: 367.2 kB / 1.292 GB, free: 67.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * 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: 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 Backend phase and start with SimCode phase: time 0.001147/3.088, allocations: 480.5 kB / 1.292 GB, free: 67.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006544/3.088, allocations: 307.8 kB / 1.292 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/3.088, allocations: 1.062 kB / 1.292 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/3.088, allocations: 143.9 kB / 1.293 GB, free: 66.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/3.09, allocations: 272.8 kB / 1.293 GB, free: 66.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/3.092, allocations: 0.797 MB / 1.294 GB, free: 65.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/3.093, allocations: 1.018 MB / 1.295 GB, free: 64.79 MB / 0.6355 GB Notification: Performance of SimCode: time 3.01e-07/3.093, allocations: 0 / 1.295 GB, free: 64.79 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)