Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.0.0/package.mo): time 2.206/2.206, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.002745/0.002745, allocations: 181.3 kB / 360.3 MB, free: 7.535 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.66/1.66, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001218/0.001218, allocations: 86.39 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2414/0.2427, allocations: 121.4 MB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.7998, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/1.003, allocations: 136.8 MB / 1.096 GB, free: 4.023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.003, allocations: 72.56 kB / 1.096 GB, free: 3.953 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.005008/1.008, allocations: 1.033 MB / 1.097 GB, free: 2.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.008, allocations: 12 kB / 1.097 GB, free: 2.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/1.008, allocations: 3.906 kB / 1.097 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/1.009, allocations: 175.6 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/1.009, allocations: 0 / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.868e-05/1.009, allocations: 4 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/1.009, allocations: 16 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/1.009, allocations: 45.69 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.009, allocations: 0 / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/1.009, allocations: 0.6562 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.009, allocations: 4 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/1.01, allocations: 285.2 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/1.01, allocations: 39.83 kB / 1.098 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/1.01, allocations: 16.92 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/1.01, allocations: 0 / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/1.01, allocations: 32.19 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.465e-06/1.01, allocations: 0 / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002003/1.01, allocations: 55.69 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.01, allocations: 51.41 kB / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/1.01, allocations: 99.73 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/1.011, allocations: 25.7 kB / 1.098 GB, free: 1.953 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/1.011, allocations: 92.03 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/1.011, allocations: 7.906 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/1.011, allocations: 0 / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.011, allocations: 310.8 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/1.011, allocations: 12 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/1.011, allocations: 15.98 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/1.011, allocations: 8.516 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.011, allocations: 0 / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001415/1.011, allocations: 53.53 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.011, allocations: 8 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.011, allocations: 0 / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.011, allocations: 0.7031 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/1.011, allocations: 12 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/1.011, allocations: 6 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/1.012, allocations: 23.97 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/1.012, allocations: 8 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.056e-05/1.012, allocations: 112.7 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/1.012, allocations: 0 / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/1.012, allocations: 58.19 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.012, allocations: 3.906 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.012, allocations: 0 / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/1.012, allocations: 2.375 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/1.012, allocations: 147.5 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.012, allocations: 3.938 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/1.012, allocations: 15.98 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.012, allocations: 4 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/1.012, allocations: 0 / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.012, allocations: 0 / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.012, allocations: 0 / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001766/1.013, allocations: 143.5 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003172/1.013, allocations: 0.5219 MB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/1.013, allocations: 81.02 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/1.013, allocations: 1.078 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/1.013, allocations: 27.97 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/1.013, allocations: 7.984 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/1.013, allocations: 0.6562 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001075/1.013, allocations: 83.28 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001094/1.015, allocations: 8 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001769/1.015, allocations: 106 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001423/1.015, allocations: 27.98 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.015, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.04e-05/1.015, allocations: 12 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/1.015, allocations: 6.516 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/1.016, allocations: 77.33 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/1.016, allocations: 0.6952 MB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/1.016, allocations: 7.938 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)