Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.003193/0.003193, allocations: 187.4 kB / 7.461 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.02176/0.02176, allocations: 4.544 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.354/1.354, allocations: 221.4 MB / 235.3 MB, free: 13.73 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.001041/0.001041, allocations: 104.7 kB / 287.2 MB, free: 11.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1335/0.1346, allocations: 57.6 MB / 344.8 MB, free: 1.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.3875, allocations: 51.49 MB / 396.3 MB, free: 32.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.4946, allocations: 78.08 MB / 474.4 MB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001246/0.4948, allocations: 49.25 kB / 474.4 MB, free: 2.422 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.02353/0.5183, allocations: 6.036 MB / 480.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5184, allocations: 8 kB / 480.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.5186, allocations: 31.62 kB / 480.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.5192, allocations: 267.8 kB / 480.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.5192, allocations: 8 kB / 480.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.5193, allocations: 19.91 kB / 480.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000687/0.52, allocations: 173 kB / 481 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/0.5207, allocations: 241.8 kB / 481.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5208, allocations: 0 / 481.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.5208, allocations: 4 kB / 481.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.5209, allocations: 8 kB / 481.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.5233, allocations: 0.9581 MB / 482.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/0.5241, allocations: 215.2 kB / 482.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.5244, allocations: 109.2 kB / 482.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.5244, allocations: 4.188 kB / 482.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.5248, allocations: 139.5 kB / 482.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.645e-06/0.5248, allocations: 0 / 482.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006259/0.5254, allocations: 203 kB / 482.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.5255, allocations: 59.34 kB / 482.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.5258, allocations: 170.1 kB / 483.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.5258, allocations: 29.64 kB / 483.1 MB, free: 9.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.526, allocations: 152.1 kB / 483.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.5261, allocations: 82.91 kB / 483.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.5261, allocations: 0 / 483.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5263, allocations: 330.8 kB / 483.6 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.5265, allocations: 72 kB / 483.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.5268, allocations: 111.4 kB / 483.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.5271, allocations: 88.84 kB / 483.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5271, allocations: 4 kB / 483.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006928/0.5278, allocations: 245.5 kB / 484.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5279, allocations: 7.984 kB / 484.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.5279, allocations: 0 / 484.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5279, allocations: 4 kB / 484.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.5285, allocations: 75.98 kB / 484.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.5285, allocations: 4 kB / 484.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.5289, allocations: 47.72 kB / 484.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.529, allocations: 4 kB / 484.3 MB, free: 8.305 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.5291, allocations: 116.8 kB / 484.4 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.5292, allocations: 23.72 kB / 484.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.5299, allocations: 223.2 kB / 484.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5299, allocations: 0 / 484.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.5299, allocations: 11.98 kB / 484.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.53, allocations: 0 / 484.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.5305, allocations: 321.9 kB / 485 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5305, allocations: 0 / 485 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.5311, allocations: 59.95 kB / 485 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5311, allocations: 4 kB / 485 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.5312, allocations: 11.91 kB / 485.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.5312, allocations: 0 / 485.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5312, allocations: 5.656 kB / 485.1 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008704/0.5321, allocations: 354.5 kB / 485.4 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001281/0.5334, allocations: 0.8296 MB / 486.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5335, allocations: 100.8 kB / 486.3 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.5336, allocations: 0 / 486.3 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.534, allocations: 36.03 kB / 486.4 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5341, allocations: 27.95 kB / 486.4 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.5341, allocations: 7.984 kB / 486.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001748/0.5343, allocations: 140.2 kB / 486.5 MB, free: 5.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001648/0.536, allocations: 67.75 kB / 486.6 MB, free: 5.891 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001717/0.5362, allocations: 111.1 kB / 486.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.5368, allocations: 217.7 kB / 486.9 MB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5368, allocations: 4.062 kB / 486.9 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.537, allocations: 95.92 kB / 487 MB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.5374, allocations: 27.92 kB / 487.1 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.5391, allocations: 457.6 kB / 487.5 MB, free: 4.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007331/0.5398, allocations: 0.794 MB / 488.3 MB, free: 4.133 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5398, allocations: 0 / 488.3 MB, free: 4.133 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)