Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",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.00623/0.00623, allocations: 179.9 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02295/0.02295, allocations: 4.548 MB / 12.42 MB, free: 0.6992 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.416/1.416, allocations: 221.4 MB / 235.3 MB, free: 13.8 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.0009315/0.0009316, allocations: 96.88 kB / 287.2 MB, free: 11.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.133/0.134, allocations: 57.61 MB / 344.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.442, allocations: 51.47 MB / 396.3 MB, free: 32.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.5425, allocations: 76.55 MB / 472.9 MB, free: 4.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000159/0.5427, allocations: 43.98 kB / 472.9 MB, free: 4.004 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.007429/0.5501, allocations: 2.311 MB / 475.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.5502, allocations: 12 kB / 475.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.5502, allocations: 15.8 kB / 475.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.5505, allocations: 203.4 kB / 475.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.5505, allocations: 0 / 475.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.5506, allocations: 8 kB / 475.4 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001725/0.5507, allocations: 67.91 kB / 475.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.551, allocations: 128.7 kB / 475.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.551, allocations: 4 kB / 475.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.551, allocations: 0 / 475.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.551, allocations: 4 kB / 475.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/0.5519, allocations: 0.7164 MB / 476.4 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.5522, allocations: 210.2 kB / 476.6 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.5523, allocations: 68.31 kB / 476.6 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.5524, allocations: 4 kB / 476.6 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.5526, allocations: 123.6 kB / 476.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.5526, allocations: 0 / 476.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002755/0.5528, allocations: 117.4 kB / 476.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.5529, allocations: 158.2 kB / 477 MB, free: 15.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.5531, allocations: 135.9 kB / 477.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.5531, allocations: 25.8 kB / 477.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.5532, allocations: 104 kB / 477.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.5532, allocations: 31.55 kB / 477.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.5532, allocations: 3.938 kB / 477.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5534, allocations: 326.7 kB / 477.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.5535, allocations: 39.92 kB / 477.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.5535, allocations: 66.16 kB / 477.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.5536, allocations: 37.38 kB / 477.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5536, allocations: 0 / 477.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002477/0.5539, allocations: 129.5 kB / 477.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5539, allocations: 4 kB / 477.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5539, allocations: 0 / 477.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5539, allocations: 4 kB / 477.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.5541, allocations: 44 kB / 478 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.5542, allocations: 3.906 kB / 478 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.5543, allocations: 31.92 kB / 478 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.5544, allocations: 8 kB / 478 MB, free: 14.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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 9.294e-05/0.5545, allocations: 116.8 kB / 478.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.5545, allocations: 7.906 kB / 478.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.5547, allocations: 81.86 kB / 478.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.5547, allocations: 12.02 kB / 478.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5547, allocations: 0 / 478.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.5547, allocations: 4 kB / 478.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.555, allocations: 386.2 kB / 478.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.555, allocations: 0 / 478.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.5552, allocations: 40 kB / 478.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5552, allocations: 0 / 478.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.5552, allocations: 11.91 kB / 478.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5552, allocations: 3.938 kB / 478.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5552, allocations: 3.984 kB / 478.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002768/0.5555, allocations: 348.8 kB / 479 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005956/0.5561, allocations: 0.8303 MB / 479.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.5562, allocations: 88.95 kB / 479.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.5562, allocations: 0 / 479.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.5565, allocations: 31.97 kB / 479.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.5565, allocations: 19.88 kB / 480 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.5566, allocations: 8 kB / 480 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.812e-05/0.5566, allocations: 109.9 kB / 480.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009316/0.5576, allocations: 20 kB / 480.1 MB, free: 12.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (11): * Single equations (assignments): 9 * 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.0001827/0.5578, allocations: 102.1 kB / 480.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.558, allocations: 117.6 kB / 480.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.558, allocations: 192 / 480.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.5582, allocations: 63.91 kB / 480.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.5585, allocations: 15.91 kB / 480.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.559, allocations: 210.8 kB / 480.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.5595, allocations: 0.7424 MB / 481.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5595, allocations: 0 / 481.3 MB, free: 10.96 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)