Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.229/1.229, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 188.8 kB / 316 MB, free: 3.594 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007865/0.0007865, allocations: 90.05 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3298/0.3306, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.4854, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.9556, allocations: 131.9 MB / 1.013 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/0.9558, allocations: 72.5 kB / 1.014 GB, free: 7.004 MB / 0.6355 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.002925/0.9587, allocations: 1.044 MB / 1.015 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.9588, allocations: 8 kB / 1.015 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.9588, allocations: 3.906 kB / 1.015 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.801e-05/0.9589, allocations: 171 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.9589, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.9589, allocations: 4 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.882e-05/0.959, allocations: 23.47 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.266e-05/0.9591, allocations: 43.75 kB / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.9591, allocations: 0 / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.9591, allocations: 0 / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.9591, allocations: 4 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.9595, allocations: 283 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.9597, allocations: 37.62 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.9597, allocations: 16.8 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.9598, allocations: 0 / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.9598, allocations: 30.56 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.9598, allocations: 4 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001471/0.9599, allocations: 56 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.96, allocations: 51.41 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.257e-05/0.96, allocations: 96.89 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.9601, allocations: 29.64 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.9601, allocations: 86.86 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.9601, allocations: 19.73 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.9601, allocations: 0 / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.9602, allocations: 314.8 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.9602, allocations: 7.875 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.9602, allocations: 11.81 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.9603, allocations: 11.55 kB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.9603, allocations: 0 / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.716e-05/0.9604, allocations: 49.12 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.9604, allocations: 10.66 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9604, allocations: 3.906 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.9604, allocations: 0 / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.9605, allocations: 12 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.9605, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.9606, allocations: 30.78 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.9606, allocations: 0 / 1.016 GB, free: 4.539 MB / 0.6355 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 6.093e-05/0.9607, allocations: 105 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.9607, allocations: 3.906 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.9608, allocations: 57.48 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9609, allocations: 240 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9609, allocations: 0 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9609, allocations: 7.922 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.961, allocations: 149.8 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.961, allocations: 4 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.9611, allocations: 15.67 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9611, allocations: 7.938 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.9611, allocations: 0 / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9611, allocations: 2.5 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9611, allocations: 0 / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001244/0.9613, allocations: 146.1 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002429/0.9615, allocations: 0.5173 MB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.9616, allocations: 77.11 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.9616, allocations: 0 / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.9617, allocations: 27.97 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.9618, allocations: 11.89 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.9618, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.561e-05/0.9618, allocations: 83.09 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007446/0.9626, allocations: 8 kB / 1.017 GB, free: 3.258 MB / 0.6355 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 9.894e-05/0.9627, allocations: 103.2 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.704e-05/0.9628, allocations: 22.73 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.9628, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.9628, allocations: 19.56 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.963, allocations: 7.688 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.9632, allocations: 71.44 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.9635, allocations: 0.6954 MB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.9635, allocations: 0 / 1.018 GB, free: 2.305 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)