Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.358/1.358, allocations: 289.8 MB / 297.1 MB, free: 6.734 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 177.3 kB / 366.3 MB, free: 2.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.059/1.059, allocations: 205.1 MB / 0.6256 GB, free: 5.883 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007572/0.0007572, allocations: 97.64 kB / 0.7396 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1974/0.1982, allocations: 122.4 MB / 0.8591 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.6533, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.7943, allocations: 137.7 MB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.7945, allocations: 76.45 kB / 1.107 GB, free: 10.72 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.002782/0.7973, allocations: 1.195 MB / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.7974, allocations: 8 kB / 1.108 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.7974, allocations: 87.09 kB / 1.108 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.7976, allocations: 270.1 kB / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.7976, allocations: 154.5 kB / 1.109 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.7977, allocations: 154.6 kB / 1.109 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.528e-05/0.7977, allocations: 154.6 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.021e-05/0.7978, allocations: 101 kB / 1.109 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.7978, allocations: 79.28 kB / 1.109 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.7978, allocations: 150.6 kB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.465e-05/0.7979, allocations: 150.6 kB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.7982, allocations: 482.3 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.601e-05/0.7983, allocations: 179.7 kB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.7983, allocations: 80.14 kB / 1.11 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.7983, allocations: 79.28 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.7984, allocations: 109.8 kB / 1.111 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.7984, allocations: 0 / 1.111 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.703e-05/0.7984, allocations: 37.61 kB / 1.111 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.7985, allocations: 51.41 kB / 1.111 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.7986, allocations: 203 kB / 1.111 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.7987, allocations: 29.69 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.7987, allocations: 100 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-06/0.7987, allocations: 0 / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.7987, allocations: 0 / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.7988, allocations: 330.8 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.7989, allocations: 40.34 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.799, allocations: 168.8 kB / 1.111 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.7995, allocations: 127.8 kB / 1.112 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7995, allocations: 3.906 kB / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007068/0.8002, allocations: 269 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.8002, allocations: 4 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8002, allocations: 4 kB / 1.112 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.8003, allocations: 11.91 kB / 1.112 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.8004, allocations: 39.92 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.8004, allocations: 12.61 kB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.666e-05/0.8006, allocations: 23.78 kB / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.8006, allocations: 16.81 kB / 1.112 GB, free: 5.641 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.888e-05/0.8007, allocations: 192.1 kB / 1.112 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.8008, allocations: 112.8 kB / 1.112 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.8008, allocations: 117.2 kB / 1.112 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/0.8009, allocations: 188.2 kB / 1.113 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.087e-05/0.8009, allocations: 180.3 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.526e-05/0.801, allocations: 176.3 kB / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.8012, allocations: 422 kB / 1.113 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-05/0.8013, allocations: 109 kB / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.8013, allocations: 101 kB / 1.113 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.769e-05/0.8014, allocations: 185 kB / 1.114 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/0.8015, allocations: 188.2 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.987e-05/0.8015, allocations: 180.2 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.165e-05/0.8016, allocations: 180.2 kB / 1.114 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001237/0.8017, allocations: 313 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002541/0.802, allocations: 0.6836 MB / 1.115 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.8021, allocations: 189.9 kB / 1.115 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.8022, allocations: 180.2 kB / 1.115 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.8023, allocations: 109 kB / 1.116 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.8023, allocations: 182 kB / 1.116 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.8024, allocations: 104.9 kB / 1.116 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001048/0.8025, allocations: 155.5 kB / 1.116 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000904/0.8034, allocations: 31.84 kB / 1.116 GB, free: 1.207 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001627/0.8036, allocations: 182.5 kB / 1.116 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.8037, allocations: 84.19 kB / 1.116 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8037, allocations: 0 / 1.116 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.8038, allocations: 3.938 kB / 1.116 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.8041, allocations: 0.5244 MB / 1.117 GB, free: 416 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.8044, allocations: 226.7 kB / 1.117 GB, free: 164 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.8048, allocations: 0.729 MB / 1.118 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.8048, allocations: 4 kB / 1.118 GB, free: 15.4 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)