Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.393/1.393, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.001027/0.001027, allocations: 185.3 kB / 366.3 MB, free: 1.938 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.062/1.062, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0007637/0.0007637, allocations: 87.86 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2065/0.2073, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.6563, allocations: 116.3 MB / 0.9727 GB, free: 68.62 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.7983, allocations: 137.9 MB / 1.107 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.7985, allocations: 67.95 kB / 1.107 GB, free: 10.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00292/0.8015, allocations: 1.033 MB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.8015, allocations: 8 kB / 1.108 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.8016, allocations: 7.906 kB / 1.108 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.8017, allocations: 170.9 kB / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.8017, allocations: 0 / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.8017, allocations: 4 kB / 1.109 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.188e-05/0.8018, allocations: 19.94 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.143e-05/0.8019, allocations: 49.69 kB / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.8019, allocations: 0 / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.8019, allocations: 4.828 kB / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8019, allocations: 0 / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.8024, allocations: 273.3 kB / 1.109 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.8026, allocations: 50.48 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.8026, allocations: 12.92 kB / 1.109 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.8026, allocations: 4 kB / 1.109 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.8027, allocations: 34.56 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.8027, allocations: 0 / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001354/0.8028, allocations: 41.78 kB / 1.109 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.8028, allocations: 56.62 kB / 1.109 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.8029, allocations: 99.64 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.8029, allocations: 29.7 kB / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.803, allocations: 88.05 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.803, allocations: 11.97 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.803, allocations: 0 / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8031, allocations: 322.8 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.8031, allocations: 7.938 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-05/0.8032, allocations: 8 kB / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.8032, allocations: 8 kB / 1.11 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8032, allocations: 0 / 1.11 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.668e-05/0.8033, allocations: 53.59 kB / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.8033, allocations: 4 kB / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.8033, allocations: 5.688 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.8033, allocations: 0 / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.8034, allocations: 19.92 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.8034, allocations: 0 / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.8036, allocations: 27.98 kB / 1.11 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.8036, allocations: 0 / 1.11 GB, free: 7.828 MB / 0.7136 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 5.944e-05/0.8037, allocations: 104.9 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.8037, allocations: 4 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.8038, allocations: 61.61 kB / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.8038, allocations: 3.906 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8038, allocations: 4 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.8038, allocations: 0 / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.804, allocations: 150.2 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.804, allocations: 0 / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.8041, allocations: 11.98 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.8041, allocations: 0 / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.8041, allocations: 0 / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.8041, allocations: 0 / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8041, allocations: 9.5 kB / 1.11 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001058/0.8042, allocations: 147.4 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001763/0.8044, allocations: 0.5144 MB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.8044, allocations: 85.02 kB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.8044, allocations: 0 / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.8046, allocations: 27.97 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.8047, allocations: 7.984 kB / 1.111 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.8047, allocations: 0 / 1.111 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.515e-05/0.8047, allocations: 87.28 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008032/0.8055, allocations: 8 kB / 1.111 GB, free: 6.504 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: 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.000101/0.8056, allocations: 103.1 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.8057, allocations: 27.94 kB / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.8057, allocations: 0 / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/0.8058, allocations: 12 kB / 1.111 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.8059, allocations: 2.203 kB / 1.111 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.8062, allocations: 75.77 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.8064, allocations: 0.6993 MB / 1.112 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8064, allocations: 0 / 1.112 GB, free: 5.535 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)