Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_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.19/1.19, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009722/0.0009723, allocations: 181.7 kB / 316 MB, free: 7.191 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.254/1.254, allocations: 205.1 MB / 0.5667 GB, free: 23.61 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.0008919/0.0008919, allocations: 86.5 kB / 0.671 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2028/0.2038, allocations: 112.5 MB / 0.7808 GB, free: 272 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.612, allocations: 106.3 MB / 0.8847 GB, free: 75.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.7491, allocations: 130.5 MB / 1.012 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.7493, allocations: 71.95 kB / 1.012 GB, free: 9.094 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.001395/0.7507, allocations: 0.5983 MB / 1.013 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.7508, allocations: 8 kB / 1.013 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.7508, allocations: 0 / 1.013 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.7509, allocations: 182.8 kB / 1.013 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.7509, allocations: 0 / 1.013 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.7509, allocations: 0 / 1.013 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.035e-05/0.751, allocations: 8 kB / 1.013 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.836e-05/0.751, allocations: 29.7 kB / 1.013 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.751, allocations: 0 / 1.013 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.7511, allocations: 3.984 kB / 1.013 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.7511, allocations: 0 / 1.013 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.7512, allocations: 138.2 kB / 1.013 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.322e-05/0.7512, allocations: 30.52 kB / 1.013 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.7513, allocations: 12.92 kB / 1.013 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.7513, allocations: 7.938 kB / 1.013 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.7513, allocations: 47.41 kB / 1.013 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7513, allocations: 0 / 1.013 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0001114/0.7515, allocations: 37.7 kB / 1.013 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.7515, allocations: 59.39 kB / 1.013 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.7516, allocations: 93 kB / 1.013 GB, free: 7.676 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.7516, allocations: 25.7 kB / 1.013 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.108e-05/0.7516, allocations: 84.14 kB / 1.013 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.7516, allocations: 15.89 kB / 1.013 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.7516, allocations: 0 / 1.013 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.7517, allocations: 314.8 kB / 1.014 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.7517, allocations: 4 kB / 1.014 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.7518, allocations: 25.64 kB / 1.014 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.467e-05/0.7518, allocations: 4.328 kB / 1.014 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7518, allocations: 4 kB / 1.014 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.731e-05/0.7519, allocations: 53.58 kB / 1.014 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.7519, allocations: 4 kB / 1.014 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.7519, allocations: 0 / 1.014 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.7519, allocations: 4 kB / 1.014 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.828e-05/0.7519, allocations: 3.938 kB / 1.014 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7519, allocations: 3.984 kB / 1.014 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.752, allocations: 16.02 kB / 1.014 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.752, allocations: 0 / 1.014 GB, free: 7.094 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.869e-05/0.7521, allocations: 112.9 kB / 1.014 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.7521, allocations: 0 / 1.014 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.7521, allocations: 3.688 kB / 1.014 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.7521, allocations: 0 / 1.014 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7521, allocations: 4 kB / 1.014 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7521, allocations: 0 / 1.014 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.434e-05/0.7522, allocations: 138.1 kB / 1.014 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.7522, allocations: 0 / 1.014 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-06/0.7523, allocations: 7.984 kB / 1.014 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.7523, allocations: 0 / 1.014 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.7523, allocations: 3.938 kB / 1.014 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.7523, allocations: 0 / 1.014 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7523, allocations: 0 / 1.014 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.396e-05/0.7524, allocations: 72.97 kB / 1.014 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001479/0.7525, allocations: 453.4 kB / 1.015 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.7526, allocations: 81.11 kB / 1.015 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.7526, allocations: 0 / 1.015 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.7526, allocations: 7.984 kB / 1.015 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.7527, allocations: 4 kB / 1.015 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.7527, allocations: 0 / 1.015 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.708e-05/0.7527, allocations: 95.17 kB / 1.015 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007251/0.7534, allocations: 4 kB / 1.015 GB, free: 6.023 MB / 0.6667 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,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 9.122e-05/0.7535, allocations: 95.25 kB / 1.015 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 5.879e-05/0.7536, allocations: 22.53 kB / 1.015 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.7536, allocations: 0 / 1.015 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.437e-05/0.7536, allocations: 11.94 kB / 1.015 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.7538, allocations: 10.61 kB / 1.015 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001653/0.754, allocations: 67.84 kB / 1.015 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.7542, allocations: 0.6915 MB / 1.016 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/0.7542, allocations: 0 / 1.016 GB, free: 5.074 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)