Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.273/2.273, allocations: 284.8 MB / 292.1 MB, free: 9.945 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.001585/0.001585, allocations: 186.7 kB / 360.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.1 MB / 0.6187 GB, free: 3.297 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001251, allocations: 103.1 kB / 0.7317 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4966/0.4979, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.6868, allocations: 115.2 MB / 0.9628 GB, free: 56.97 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5908/1.278, allocations: 137.4 MB / 1.097 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.278, allocations: 76.75 kB / 1.097 GB, free: 44.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.08518/1.363, allocations: 18.04 MB / 1.115 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.363, allocations: 7.844 kB / 1.115 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/1.364, allocations: 65.97 kB / 1.115 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/1.364, allocations: 214.5 kB / 1.115 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/1.364, allocations: 7.141 kB / 1.115 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/1.364, allocations: 64.92 kB / 1.115 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001602/1.364, allocations: 45.28 kB / 1.115 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/1.364, allocations: 205.6 kB / 1.115 GB, free: 42.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.364, allocations: 0 / 1.115 GB, free: 42.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/1.365, allocations: 6.766 kB / 1.115 GB, free: 42.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/1.365, allocations: 3.812 kB / 1.115 GB, free: 42.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/1.366, allocations: 0.8125 MB / 1.116 GB, free: 41.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/1.366, allocations: 307.9 kB / 1.116 GB, free: 41.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/1.366, allocations: 131.4 kB / 1.116 GB, free: 41.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/1.366, allocations: 3.906 kB / 1.116 GB, free: 41.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004969/1.367, allocations: 345.7 kB / 1.117 GB, free: 41.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/1.367, allocations: 4 kB / 1.117 GB, free: 41.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.001028/1.368, allocations: 358.8 kB / 1.117 GB, free: 41.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.368, allocations: 430.1 kB / 1.118 GB, free: 40.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/1.368, allocations: 250 kB / 1.118 GB, free: 40.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/1.368, allocations: 56.8 kB / 1.118 GB, free: 40.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/1.369, allocations: 138.3 kB / 1.118 GB, free: 40.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/1.369, allocations: 87.31 kB / 1.118 GB, free: 40.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/1.369, allocations: 27.19 kB / 1.118 GB, free: 40.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/1.369, allocations: 353.5 kB / 1.118 GB, free: 39.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.37, allocations: 360.6 kB / 1.119 GB, free: 39.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.372, allocations: 0.6364 MB / 1.119 GB, free: 39.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/1.375, allocations: 0.5338 MB / 1.12 GB, free: 39.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.375, allocations: 0 / 1.12 GB, free: 39.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005791/1.381, allocations: 1.259 MB / 1.121 GB, free: 39.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.381, allocations: 11 kB / 1.121 GB, free: 39.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.381, allocations: 7.781 kB / 1.121 GB, free: 39.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/1.381, allocations: 15.28 kB / 1.121 GB, free: 39.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/1.381, allocations: 30.16 kB / 1.121 GB, free: 39.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/1.381, allocations: 19.5 kB / 1.121 GB, free: 39.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/1.386, allocations: 0.5931 MB / 1.122 GB, free: 39.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/1.386, allocations: 88.64 kB / 1.122 GB, free: 39.35 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003882/1.387, allocations: 183.7 kB / 1.122 GB, free: 39.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.387, allocations: 46.3 kB / 1.122 GB, free: 39.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/1.387, allocations: 39.59 kB / 1.122 GB, free: 39.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.387, allocations: 7.844 kB / 1.122 GB, free: 39.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.387, allocations: 3.812 kB / 1.122 GB, free: 39.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.387, allocations: 7.422 kB / 1.122 GB, free: 39.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/1.387, allocations: 292.9 kB / 1.122 GB, free: 39.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.387, allocations: 7.906 kB / 1.122 GB, free: 39.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/1.387, allocations: 19.11 kB / 1.122 GB, free: 39.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.388, allocations: 7.812 kB / 1.122 GB, free: 39.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/1.388, allocations: 21.52 kB / 1.122 GB, free: 39.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.388, allocations: 11.83 kB / 1.122 GB, free: 39.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.388, allocations: 7.812 kB / 1.122 GB, free: 39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007482/1.388, allocations: 0.5754 MB / 1.123 GB, free: 38.56 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008477/1.389, allocations: 0.9519 MB / 1.124 GB, free: 53.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/1.389, allocations: 108.5 kB / 1.124 GB, free: 53.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/1.389, allocations: 14.45 kB / 1.124 GB, free: 53.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/1.39, allocations: 7.203 kB / 1.124 GB, free: 53.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.39, allocations: 53.95 kB / 1.124 GB, free: 53.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/1.39, allocations: 37.27 kB / 1.124 GB, free: 53.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000215/1.39, allocations: 173.4 kB / 1.124 GB, free: 53.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002271/1.392, allocations: 178.8 kB / 1.124 GB, free: 53.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002521/1.393, allocations: 128 kB / 1.125 GB, free: 53.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002593/1.395, allocations: 1.093 MB / 1.126 GB, free: 52.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.395, allocations: 0 / 1.126 GB, free: 52.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/1.396, allocations: 166.4 kB / 1.126 GB, free: 52.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/1.397, allocations: 102.7 kB / 1.126 GB, free: 52.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/1.398, allocations: 486 kB / 1.126 GB, free: 52.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/1.398, allocations: 0.8247 MB / 1.127 GB, free: 51.94 MB / 0.7292 GB Notification: Performance of SimCode: time 1.092e-06/1.398, allocations: 0 / 1.127 GB, free: 51.94 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)