Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.1-maint.8.0.x/package.mo): time 1.321/1.321, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009084/0.0009086, allocations: 185.3 kB / 361.1 MB, free: 7.102 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.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007589/0.000759, allocations: 98.25 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1728/0.1736, allocations: 121.5 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.5749, allocations: 115.3 MB / 0.9638 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.7057, allocations: 137.6 MB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.7059, allocations: 64.72 kB / 1.098 GB, free: 2.355 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00975/0.7157, allocations: 3.523 MB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.7158, allocations: 8.5 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.7158, allocations: 19.81 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7159, allocations: 178.5 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.716, allocations: 8.688 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.716, allocations: 23.98 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001251/0.7162, allocations: 55.89 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.7163, allocations: 111.3 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7164, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.7164, allocations: 11.98 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7164, allocations: 0.7031 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.7171, allocations: 0.5284 MB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.7173, allocations: 137.4 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.7174, allocations: 61.66 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.7174, allocations: 4.609 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.7177, allocations: 160.5 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.7177, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0003285/0.718, allocations: 177.4 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.7181, allocations: 94.36 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.7181, allocations: 121.2 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.7182, allocations: 29.7 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.7182, allocations: 92.55 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.979e-05/0.7183, allocations: 43.42 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.7183, allocations: 15.92 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.7184, allocations: 322.8 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7186, allocations: 84.22 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.7187, allocations: 144.3 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.7191, allocations: 99.66 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7191, allocations: 4 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006238/0.7197, allocations: 288.6 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7198, allocations: 9.75 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.7198, allocations: 5.875 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.7198, allocations: 4.656 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.7199, allocations: 19.92 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.7199, allocations: 6.188 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.7203, allocations: 95.77 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.7203, allocations: 16 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001027/0.7204, allocations: 130.9 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.7205, allocations: 16.94 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.7205, allocations: 20.42 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.7205, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7205, allocations: 4 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.7205, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.721, allocations: 0.5293 MB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.721, allocations: 0 / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.721, allocations: 8 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.721, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.721, allocations: 9.172 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.7211, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7211, allocations: 3.938 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002824/0.7213, allocations: 370 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003946/0.7218, allocations: 0.7336 MB / 1.106 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.7218, allocations: 90.12 kB / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.7219, allocations: 0 / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.722, allocations: 27.92 kB / 1.106 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.7221, allocations: 19.95 kB / 1.106 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.7221, allocations: 17.55 kB / 1.106 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.129e-05/0.7222, allocations: 91.19 kB / 1.106 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008789/0.723, allocations: 59.98 kB / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001593/0.7232, allocations: 126.8 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.7236, allocations: 255.2 kB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.7236, allocations: 0 / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.7237, allocations: 115.9 kB / 1.107 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.724, allocations: 15.98 kB / 1.107 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.7244, allocations: 192.1 kB / 1.107 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.7246, allocations: 0.7284 MB / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.7247, allocations: 0 / 1.108 GB, free: 8.016 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)