Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.004696/0.004696, allocations: 175.3 kB / 7.452 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02565/0.02565, allocations: 4.542 MB / 12.41 MB, free: 0.6172 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.422/1.422, allocations: 221.4 MB / 235.3 MB, free: 13.92 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.001256/0.001256, allocations: 98.61 kB / 287.2 MB, free: 11.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1489/0.1502, allocations: 57.62 MB / 344.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.4236, allocations: 51.47 MB / 396.3 MB, free: 32.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.5304, allocations: 76.47 MB / 472.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/0.5306, allocations: 43.98 kB / 472.8 MB, free: 4.062 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.007703/0.5383, allocations: 2.249 MB / 475.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.5384, allocations: 11.94 kB / 475.1 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.5385, allocations: 11.91 kB / 475.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.5387, allocations: 213.9 kB / 475.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5387, allocations: 0 / 475.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.5388, allocations: 4 kB / 475.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001637/0.5389, allocations: 59.97 kB / 475.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.5392, allocations: 136.8 kB / 475.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5392, allocations: 0 / 475.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.5392, allocations: 0 / 475.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.5392, allocations: 11.91 kB / 475.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.5402, allocations: 0.6854 MB / 476.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.5404, allocations: 125.1 kB / 476.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.5405, allocations: 64.31 kB / 476.4 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.5406, allocations: 0 / 476.4 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.5407, allocations: 123.6 kB / 476.5 MB, free: 136 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.5407, allocations: 0 / 476.5 MB, free: 136 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002861/0.541, allocations: 105.4 kB / 476.6 MB, free: 24 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.5412, allocations: 166.2 kB / 476.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.5413, allocations: 131.9 kB / 476.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.5414, allocations: 29.7 kB / 476.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.5414, allocations: 104.3 kB / 477 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.5415, allocations: 31.55 kB / 477.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.5415, allocations: 0 / 477.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5416, allocations: 318.8 kB / 477.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.5417, allocations: 31.98 kB / 477.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.5418, allocations: 68.2 kB / 477.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.974e-05/0.5419, allocations: 42.94 kB / 477.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5419, allocations: 0 / 477.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002206/0.5421, allocations: 121.4 kB / 477.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5421, allocations: 8 kB / 477.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5421, allocations: 3.938 kB / 477.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5422, allocations: 3.906 kB / 477.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.5424, allocations: 40.09 kB / 477.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5424, allocations: 0 / 477.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.5426, allocations: 27.98 kB / 477.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.5426, allocations: 4 kB / 477.7 MB, free: 14.83 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 (11): * Single equations (assignments): 10 * 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.0001159/0.5427, allocations: 120.3 kB / 477.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.5428, allocations: 11.91 kB / 477.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.5429, allocations: 77.78 kB / 477.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.543, allocations: 4.031 kB / 477.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.543, allocations: 4 kB / 477.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.543, allocations: 48 / 477.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.5433, allocations: 295 kB / 478.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5433, allocations: 0 / 478.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.5435, allocations: 40 kB / 478.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5435, allocations: 0 / 478.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.5435, allocations: 4 kB / 478.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5435, allocations: 3.984 kB / 478.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.5435, allocations: 7.906 kB / 478.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002899/0.5438, allocations: 265.6 kB / 478.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006621/0.5445, allocations: 0.7402 MB / 479.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.5446, allocations: 96.86 kB / 479.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.5446, allocations: 4 kB / 479.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.5448, allocations: 19.98 kB / 479.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.545, allocations: 24.03 kB / 479.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.545, allocations: 11.98 kB / 479.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.954e-05/0.5451, allocations: 113.8 kB / 479.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009195/0.546, allocations: 23.91 kB / 479.5 MB, free: 12.8 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 (9): * Single equations (assignments): 7 * 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.0001175/0.5461, allocations: 95.72 kB / 479.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.5464, allocations: 109.7 kB / 479.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5464, allocations: 4 kB / 479.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.5465, allocations: 60.16 kB / 479.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.5468, allocations: 11.98 kB / 479.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.5473, allocations: 198.5 kB / 480 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.5478, allocations: 0.7464 MB / 480.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5478, allocations: 0 / 480.8 MB, free: 11.52 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_ArtificialInput_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)