Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.116/2.116, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001567/0.001567, allocations: 189.2 kB / 360.3 MB, free: 7.559 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.615/1.615, 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.001265/0.001264, allocations: 79.59 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2507/0.252, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.8052, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/1.009, allocations: 137.2 MB / 1.097 GB, free: 3.664 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.009, allocations: 75.95 kB / 1.097 GB, free: 3.59 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.009667/1.019, allocations: 2.054 MB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.019, allocations: 8 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/1.019, allocations: 6.906 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/1.019, allocations: 182.9 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/1.019, allocations: 1.922 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/1.019, allocations: 4 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.07e-05/1.019, allocations: 12 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.778e-05/1.019, allocations: 38.98 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.019, allocations: 3.906 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/1.019, allocations: 6.031 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.019, allocations: 4 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/1.02, allocations: 313.2 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.72e-05/1.02, allocations: 26.58 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/1.02, allocations: 8.922 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/1.02, allocations: 0 / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.912e-05/1.02, allocations: 56.11 kB / 1.099 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.073e-06/1.02, allocations: 11.88 kB / 1.099 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002518/1.02, allocations: 57.59 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/1.02, allocations: 55.41 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/1.02, allocations: 120.4 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/1.021, allocations: 25.7 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/1.021, allocations: 84.14 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/1.021, allocations: 11.91 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/1.021, allocations: 0 / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.021, allocations: 322.7 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.021, allocations: 36.66 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/1.021, allocations: 51.17 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/1.021, allocations: 41.28 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.021, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005369/1.022, allocations: 133.5 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.022, allocations: 7.984 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.022, allocations: 4 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.022, allocations: 3.094 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/1.022, allocations: 3.938 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.022, allocations: 4 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/1.023, allocations: 40.03 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/1.023, allocations: 4 kB / 1.1 GB, free: 15.75 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 0.0001118/1.023, allocations: 116.7 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/1.023, allocations: 7.984 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/1.023, allocations: 8.562 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.023, allocations: 5.781 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.023, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.023, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/1.023, allocations: 154.1 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.023, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/1.023, allocations: 8.875 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.023, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/1.023, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.023, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.023, allocations: 7.938 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001612/1.023, allocations: 88.97 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002726/1.024, allocations: 458 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/1.024, allocations: 85.09 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/1.024, allocations: 10.47 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/1.024, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/1.024, allocations: 4 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/1.024, allocations: 4 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.465e-05/1.024, allocations: 95.27 kB / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001121/1.025, allocations: 24 kB / 1.101 GB, free: 14.59 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.0002045/1.025, allocations: 107.2 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002877/1.026, allocations: 94.27 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.026, allocations: 3.75 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/1.026, allocations: 15.98 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/1.026, allocations: 8 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/1.026, allocations: 88.56 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/1.027, allocations: 0.7002 MB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of SimCode: time 8.91e-07/1.027, allocations: 4.062 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)