Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.429/1.429, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001188/0.001188, allocations: 177.3 kB / 366.3 MB, free: 1.988 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.128/1.128, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0008808/0.0008807, allocations: 94.53 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2009/0.2019, allocations: 122.5 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.6587, allocations: 116.3 MB / 0.9727 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.8026, allocations: 138.3 MB / 1.108 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.8028, allocations: 68.83 kB / 1.108 GB, free: 10.05 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.005569/0.8084, allocations: 2.065 MB / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.8084, allocations: 8 kB / 1.11 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.8084, allocations: 8 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.8086, allocations: 174.9 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.8086, allocations: 0 / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.8086, allocations: 8 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.301e-05/0.8087, allocations: 8 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.012e-05/0.8087, allocations: 41.69 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.8088, allocations: 4.562 kB / 1.11 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.8088, allocations: 0 / 1.11 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.8088, allocations: 0 / 1.11 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.8092, allocations: 323.8 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.652e-05/0.8092, allocations: 26.58 kB / 1.11 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.8092, allocations: 12.92 kB / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.8093, allocations: 0 / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.442e-05/0.8093, allocations: 60.34 kB / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.8094, allocations: 0 / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001451/0.8095, allocations: 57.59 kB / 1.111 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.8095, allocations: 63.28 kB / 1.111 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.8096, allocations: 110.2 kB / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.8097, allocations: 29.7 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.8097, allocations: 92.12 kB / 1.111 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.8097, allocations: 3.906 kB / 1.111 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.8097, allocations: 4 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8098, allocations: 322.8 kB / 1.111 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.8099, allocations: 32.55 kB / 1.111 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.81, allocations: 52.38 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.8102, allocations: 43.95 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8102, allocations: 0 / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003105/0.8105, allocations: 133.5 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.8105, allocations: 4 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.8106, allocations: 0.9375 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.8106, allocations: 0 / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.287e-05/0.8106, allocations: 4 kB / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.8106, allocations: 0 / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.8108, allocations: 40.03 kB / 1.111 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.8108, allocations: 11.98 kB / 1.111 GB, free: 6.145 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 7.107e-05/0.8109, allocations: 117.4 kB / 1.112 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.8109, allocations: 4 kB / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.811, allocations: 4 kB / 1.112 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.811, allocations: 3.906 kB / 1.112 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.811, allocations: 4 kB / 1.112 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.811, allocations: 0 / 1.112 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.8111, allocations: 155.5 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8111, allocations: 0 / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.8111, allocations: 0 / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8111, allocations: 4 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.8112, allocations: 4.094 kB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.8112, allocations: 0 / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8112, allocations: 0 / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001039/0.8113, allocations: 85.02 kB / 1.112 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001905/0.8115, allocations: 473.2 kB / 1.112 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.8115, allocations: 89.11 kB / 1.112 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.8115, allocations: 3.906 kB / 1.112 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.8116, allocations: 0 / 1.112 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.8116, allocations: 3.984 kB / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.8116, allocations: 8.062 kB / 1.112 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.177e-05/0.8117, allocations: 87.28 kB / 1.112 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007899/0.8125, allocations: 24.56 kB / 1.112 GB, free: 4.984 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.0001341/0.8126, allocations: 110 kB / 1.113 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.8128, allocations: 97.62 kB / 1.113 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.8128, allocations: 0 / 1.113 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.8128, allocations: 12 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.813, allocations: 17.67 kB / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.8132, allocations: 79.83 kB / 1.113 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.8135, allocations: 0.7034 MB / 1.113 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/0.8135, allocations: 0 / 1.113 GB, free: 3.914 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)