Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",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.002686/0.002686, allocations: 181.1 kB / 7.459 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.02021/0.02021, allocations: 4.541 MB / 12.42 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.251/1.251, allocations: 221.4 MB / 235.3 MB, free: 13.77 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.001042/0.001042, allocations: 102.7 kB / 287.2 MB, free: 11.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.124/0.1251, allocations: 57.61 MB / 344.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.3747, allocations: 51.47 MB / 396.3 MB, free: 32.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09193/0.4666, allocations: 77.99 MB / 474.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001038/0.4668, allocations: 49.48 kB / 474.3 MB, free: 2.539 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.01508/0.4819, allocations: 6.092 MB / 480.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4819, allocations: 11.94 kB / 480.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.482, allocations: 31.62 kB / 480.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.4824, allocations: 271.5 kB / 480.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4824, allocations: 8 kB / 480.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.4824, allocations: 19.91 kB / 480.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000382/0.4828, allocations: 212.9 kB / 481 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.4833, allocations: 269.7 kB / 481.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.4833, allocations: 0 / 481.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.4833, allocations: 4 kB / 481.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4833, allocations: 7.984 kB / 481.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.4848, allocations: 1.001 MB / 482.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.4853, allocations: 239.2 kB / 482.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.4855, allocations: 117.2 kB / 482.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.4856, allocations: 16.16 kB / 482.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.4858, allocations: 144.8 kB / 482.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.4858, allocations: 0 / 482.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003934/0.4862, allocations: 238.3 kB / 483 MB, free: 9.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.4862, allocations: 59.34 kB / 483.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.4864, allocations: 182.1 kB / 483.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.4864, allocations: 29.7 kB / 483.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.4865, allocations: 148.1 kB / 483.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.4866, allocations: 78.86 kB / 483.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.4866, allocations: 0 / 483.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4867, allocations: 330.8 kB / 483.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.4869, allocations: 99.97 kB / 483.9 MB, free: 8.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.4871, allocations: 123.4 kB / 484 MB, free: 8.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.4873, allocations: 108.8 kB / 484.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4873, allocations: 0 / 484.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004331/0.4877, allocations: 273.5 kB / 484.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4877, allocations: 12.09 kB / 484.4 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4877, allocations: 0 / 484.4 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4878, allocations: 0 / 484.4 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.4881, allocations: 71.89 kB / 484.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.4881, allocations: 5.797 kB / 484.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.4884, allocations: 47.72 kB / 484.5 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.4884, allocations: 12 kB / 484.5 MB, free: 8.086 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.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 (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 9.21e-05/0.4885, allocations: 115.6 kB / 484.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.4886, allocations: 19.72 kB / 484.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.489, allocations: 251.2 kB / 484.9 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.489, allocations: 4 kB / 484.9 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.489, allocations: 0 / 484.9 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.489, allocations: 3.984 kB / 484.9 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.4894, allocations: 333.9 kB / 485.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4894, allocations: 0 / 485.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.4897, allocations: 67.89 kB / 485.3 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4898, allocations: 4 kB / 485.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.4898, allocations: 7.906 kB / 485.3 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4898, allocations: 0 / 485.3 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4898, allocations: 4 kB / 485.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006233/0.4904, allocations: 396.7 kB / 485.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008535/0.4913, allocations: 0.9076 MB / 486.6 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.4914, allocations: 104.7 kB / 486.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.4914, allocations: 4 kB / 486.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4917, allocations: 36.09 kB / 486.8 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.4918, allocations: 23.95 kB / 486.8 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.4918, allocations: 12 kB / 486.8 MB, free: 5.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001254/0.4919, allocations: 152.2 kB / 487 MB, free: 5.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008486/0.4928, allocations: 63.75 kB / 487 MB, free: 5.508 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,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 (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.0001267/0.4929, allocations: 107.1 kB / 487.1 MB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.4933, allocations: 261.4 kB / 487.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4933, allocations: 0 / 487.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.4935, allocations: 115.9 kB / 487.5 MB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.4938, allocations: 24.17 kB / 487.5 MB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.4949, allocations: 493.4 kB / 488 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/0.4955, allocations: 0.8056 MB / 488.8 MB, free: 3.652 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4955, allocations: 4 kB / 488.8 MB, free: 3.648 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)