Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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/FastBuildings 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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",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.004307/0.004307, allocations: 178.5 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.03444/0.03444, allocations: 4.543 MB / 12.41 MB, free: 0.6836 MB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 221.4 MB / 235.3 MB, free: 13.78 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 98.27 kB / 287.2 MB, free: 11.35 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1272/0.1282, allocations: 57.62 MB / 344.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.3759, allocations: 51.47 MB / 396.3 MB, free: 32.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09423/0.4701, allocations: 78.17 MB / 474.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001297/0.4703, allocations: 48.64 kB / 474.5 MB, free: 2.469 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.01855/0.4889, allocations: 7.543 MB / 482.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.4889, allocations: 8 kB / 482.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.489, allocations: 43.53 kB / 482.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.4894, allocations: 305.4 kB / 482.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.4896, allocations: 54.34 kB / 482.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.4896, allocations: 20 kB / 482.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004324/0.4901, allocations: 233.2 kB / 482.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.4906, allocations: 311.8 kB / 483 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4906, allocations: 0 / 483 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.4907, allocations: 3.906 kB / 483 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.4907, allocations: 8 kB / 483 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.4928, allocations: 1.475 MB / 484.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.4935, allocations: 286.5 kB / 484.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.4937, allocations: 171.4 kB / 485 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.4938, allocations: 3.938 kB / 485 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.494, allocations: 181 kB / 485.1 MB, free: 7.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.494, allocations: 0 / 485.1 MB, free: 7.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004867/0.4945, allocations: 258.7 kB / 485.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.4946, allocations: 89.12 kB / 485.5 MB, free: 7.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.4949, allocations: 221.1 kB / 485.7 MB, free: 7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.4949, allocations: 25.7 kB / 485.7 MB, free: 6.969 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.495, allocations: 176.1 kB / 485.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.4951, allocations: 82.75 kB / 486 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.4951, allocations: 0 / 486 MB, free: 6.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4953, allocations: 338.8 kB / 486.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.4955, allocations: 104 kB / 486.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.4957, allocations: 154.6 kB / 486.6 MB, free: 6.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.4959, allocations: 119.9 kB / 486.7 MB, free: 5.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.496, allocations: 0 / 486.7 MB, free: 5.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000506/0.4965, allocations: 325.2 kB / 487 MB, free: 5.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4965, allocations: 4 kB / 487 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4965, allocations: 0 / 487 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4965, allocations: 7.984 kB / 487 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.4977, allocations: 307.8 kB / 487.3 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.4988, allocations: 1.378 MB / 488.7 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.4992, allocations: 63.83 kB / 488.7 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.4992, allocations: 8 kB / 488.7 MB, free: 3.785 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: bui.hva.QHeaCoo:VARIABLE(unit = "W" ) "Total heating power" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.4994, allocations: 126.6 kB / 488.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.4994, allocations: 23.72 kB / 488.9 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.4999, allocations: 275.6 kB / 489.2 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4999, allocations: 4 kB / 489.2 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.4999, allocations: 0 / 489.2 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4999, allocations: 3.984 kB / 489.2 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.5003, allocations: 401.7 kB / 489.6 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5003, allocations: 0 / 489.6 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.5015, allocations: 303.7 kB / 489.9 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.5015, allocations: 4 kB / 489.9 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.5015, allocations: 0 / 489.9 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009417/0.5025, allocations: 1.386 MB / 491.3 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5025, allocations: 0 / 491.3 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006429/0.5032, allocations: 459.1 kB / 491.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009754/0.5041, allocations: 0.9813 MB / 492.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.5042, allocations: 108.8 kB / 492.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.5043, allocations: 4 kB / 492.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.5046, allocations: 43.91 kB / 492.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.5047, allocations: 27.86 kB / 492.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.5047, allocations: 7.984 kB / 492.9 MB, free: 15.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001575/0.5049, allocations: 181.2 kB / 493 MB, free: 15.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001011/0.5059, allocations: 87.69 kB / 493.1 MB, free: 15.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001606/0.5061, allocations: 111.2 kB / 493.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.5076, allocations: 0.58 MB / 493.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5076, allocations: 0 / 493.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.5089, allocations: 451.9 kB / 494.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.5092, allocations: 32.48 kB / 494.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.511, allocations: 0.7318 MB / 495 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.5115, allocations: 0.8285 MB / 495.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5115, allocations: 0 / 495.9 MB, free: 12.37 MB / 378.7 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)