Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",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.314/1.314, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009032/0.0009032, allocations: 189.2 kB / 361.1 MB, free: 7.137 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.017/1.017, allocations: 205.1 MB / 0.6195 GB, free: 11.98 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.0007503/0.0007503, allocations: 91.5 kB / 0.7326 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1703/0.1711, allocations: 121.5 MB / 0.8512 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.5617, allocations: 115.3 MB / 0.9638 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.6886, allocations: 137.4 MB / 1.098 GB, free: 2.801 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001726/0.6888, allocations: 71.59 kB / 1.098 GB, free: 2.734 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.005451/0.6943, allocations: 2.053 MB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.6943, allocations: 12 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.6944, allocations: 4 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.6945, allocations: 178.9 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.6945, allocations: 4 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.6946, allocations: 4 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.767e-05/0.6946, allocations: 11.94 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/0.6947, allocations: 46.25 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.6947, allocations: 3.906 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.6947, allocations: 0.7031 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.6947, allocations: 0 / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.6951, allocations: 311.9 kB / 1.101 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.6951, allocations: 26.58 kB / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.6952, allocations: 16.86 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.6952, allocations: 0.5625 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.6953, allocations: 55.41 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.725e-06/0.6953, allocations: 0 / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001385/0.6954, allocations: 62.33 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.6955, allocations: 55.41 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.6955, allocations: 117.7 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.6956, allocations: 29.7 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.6956, allocations: 88.14 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.6956, allocations: 11.89 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.6956, allocations: 4 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.6957, allocations: 318.8 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.6958, allocations: 31.98 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.6959, allocations: 54.52 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.6961, allocations: 47.95 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6961, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002991/0.6964, allocations: 129.5 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.6964, allocations: 4.938 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.6964, allocations: 0 / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.6964, allocations: 5.625 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.361e-05/0.6965, allocations: 4.062 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.6965, allocations: 4 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.6967, allocations: 35.97 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.6967, allocations: 4 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.625e-05/0.6968, allocations: 117.6 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.6968, allocations: 4.516 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.6968, allocations: 4 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6968, allocations: 7.906 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6968, allocations: 0 / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6969, allocations: 0 / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.18e-05/0.6969, allocations: 159.1 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.697, allocations: 0.6562 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/0.697, allocations: 7.938 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.697, allocations: 1.938 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.697, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.697, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.697, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.752e-05/0.6971, allocations: 84.97 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001622/0.6973, allocations: 471.2 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.6973, allocations: 81.11 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.6974, allocations: 3.906 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.6974, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.6974, allocations: 3.938 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.6974, allocations: 11.98 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.455e-05/0.6975, allocations: 94.12 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007384/0.6982, allocations: 24 kB / 1.103 GB, free: 13.73 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001372/0.6984, allocations: 111 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.6985, allocations: 90.25 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6985, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.6986, allocations: 19.92 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.6987, allocations: 22.64 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.6989, allocations: 80.64 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.6992, allocations: 0.6993 MB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6992, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)