Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.233/1.233, allocations: 249.4 MB / 256.7 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009888/0.0009889, allocations: 181.3 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.127/1.127, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000811/0.0008109, allocations: 95.33 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3169/0.3178, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.4747, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.9358, allocations: 131.6 MB / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.936, allocations: 77.36 kB / 1.013 GB, free: 7.074 MB / 0.6355 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.002342/0.9384, allocations: 0.8016 MB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.9384, allocations: 8 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.9385, allocations: 4 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.799e-05/0.9386, allocations: 173.4 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.9386, allocations: 2.625 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.9386, allocations: 0 / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.213e-05/0.9387, allocations: 15.38 kB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.341e-05/0.9388, allocations: 52.73 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.9388, allocations: 0 / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.9388, allocations: 0 / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.9388, allocations: 7.906 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.939, allocations: 224.5 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/0.9391, allocations: 30.27 kB / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.9391, allocations: 12.61 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.9392, allocations: 4.141 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/0.9392, allocations: 62.11 kB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.9392, allocations: 0 / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001304/0.9394, allocations: 53.38 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.9394, allocations: 51.41 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.817e-05/0.9395, allocations: 99.12 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.9395, allocations: 25.7 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.9395, allocations: 96.03 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.9396, allocations: 10.97 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.9396, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.9397, allocations: 314.3 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.9397, allocations: 11.75 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.9397, allocations: 14.38 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.9398, allocations: 16.12 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.9398, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001041/0.9399, allocations: 75.2 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.9399, allocations: 4 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.9399, allocations: 4 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.9399, allocations: 0 / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.94, allocations: 15.98 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.94, allocations: 0.5469 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/0.9401, allocations: 23.89 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.9402, allocations: 0 / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.528e-05/0.9402, allocations: 105 kB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.9403, allocations: 7.844 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.9403, allocations: 7.125 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9403, allocations: 4 kB / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.9403, allocations: 0 / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9403, allocations: 3.984 kB / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.331e-05/0.9404, allocations: 137.3 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.9404, allocations: 7.984 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.9405, allocations: 15.94 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.9405, allocations: 3.906 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.9405, allocations: 7.047 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.9405, allocations: 0 / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9405, allocations: 3.938 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.074e-05/0.9406, allocations: 79.28 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001622/0.9408, allocations: 457.1 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.9408, allocations: 81.05 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.9408, allocations: 7.984 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.9409, allocations: 15.98 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.941, allocations: 10.98 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.941, allocations: 3.906 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.486e-05/0.9411, allocations: 89.09 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007101/0.9418, allocations: 8 kB / 1.016 GB, free: 3.734 MB / 0.6355 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001147/0.9419, allocations: 115 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.942, allocations: 31.56 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.942, allocations: 0 / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.942, allocations: 15.31 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.9422, allocations: 15.23 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.9424, allocations: 73.72 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.9427, allocations: 0.6915 MB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.9427, allocations: 0 / 1.017 GB, free: 2.766 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)