Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.828/1.828, allocations: 390.4 MB / 397.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000927/0.000927, allocations: 189.2 kB / 490.8 MB, free: 6.426 MB / 398.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 221.4 MB / 0.7863 GB, free: 1.926 MB / 0.545 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008344/0.0008341, allocations: 103 kB / 0.9264 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of FrontEnd - loaded program: time 0.4242/0.425, allocations: 149.1 MB / 1.072 GB, free: 186.3 MB / 0.7637 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.6083, allocations: 143 MB / 1.212 GB, free: 43.85 MB / 0.7637 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4893/1.098, allocations: 149.6 MB / 1.358 GB, free: 17.85 MB / 0.8262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001665/1.098, allocations: 76.36 kB / 1.358 GB, free: 17.85 MB / 0.8262 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.04931/1.147, allocations: 18.12 MB / 1.376 GB, free: 31.85 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/1.147, allocations: 10.05 kB / 1.376 GB, free: 31.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/1.148, allocations: 60.78 kB / 1.376 GB, free: 31.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/1.148, allocations: 209 kB / 1.376 GB, free: 31.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/1.148, allocations: 14.64 kB / 1.376 GB, free: 31.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/1.148, allocations: 63.86 kB / 1.376 GB, free: 31.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/1.148, allocations: 38.77 kB / 1.376 GB, free: 31.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/1.148, allocations: 208.2 kB / 1.376 GB, free: 31.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/1.148, allocations: 0.6562 kB / 1.376 GB, free: 31.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/1.148, allocations: 6.328 kB / 1.376 GB, free: 31.45 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.149, allocations: 6.625 kB / 1.376 GB, free: 31.44 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/1.15, allocations: 0.8075 MB / 1.377 GB, free: 31.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/1.15, allocations: 310.2 kB / 1.377 GB, free: 30.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/1.15, allocations: 124.5 kB / 1.377 GB, free: 30.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/1.15, allocations: 14.59 kB / 1.377 GB, free: 30.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/1.15, allocations: 352.6 kB / 1.378 GB, free: 30.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.545e-06/1.15, allocations: 1.062 kB / 1.378 GB, free: 30.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.0007706/1.151, allocations: 355.2 kB / 1.378 GB, free: 30.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/1.151, allocations: 436.8 kB / 1.378 GB, free: 29.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/1.152, allocations: 247.4 kB / 1.379 GB, free: 29.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/1.152, allocations: 59.23 kB / 1.379 GB, free: 29.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/1.152, allocations: 134.8 kB / 1.379 GB, free: 29.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/1.152, allocations: 88.83 kB / 1.379 GB, free: 29.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/1.152, allocations: 28.5 kB / 1.379 GB, free: 29.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.152, allocations: 350.8 kB / 1.379 GB, free: 29.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007885/1.153, allocations: 366.1 kB / 1.38 GB, free: 29.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/1.154, allocations: 0.6371 MB / 1.38 GB, free: 28.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/1.156, allocations: 0.5232 MB / 1.381 GB, free: 28.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.156, allocations: 2.812 kB / 1.381 GB, free: 28.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003516/1.159, allocations: 1.255 MB / 1.382 GB, free: 28.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.16, allocations: 5.625 kB / 1.382 GB, free: 28.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.16, allocations: 9.531 kB / 1.382 GB, free: 28.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/1.16, allocations: 19.41 kB / 1.382 GB, free: 28.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/1.16, allocations: 32.23 kB / 1.382 GB, free: 28.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.16, allocations: 20.62 kB / 1.382 GB, free: 28.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/1.162, allocations: 0.586 MB / 1.383 GB, free: 28.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/1.162, allocations: 93.66 kB / 1.383 GB, free: 28.66 MB / 0.8419 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.0002684/1.163, allocations: 180.3 kB / 1.383 GB, free: 28.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/1.163, allocations: 42.86 kB / 1.383 GB, free: 28.51 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/1.163, allocations: 35.2 kB / 1.383 GB, free: 28.51 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.163, allocations: 6.938 kB / 1.383 GB, free: 28.51 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.163, allocations: 9.359 kB / 1.383 GB, free: 28.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.163, allocations: 5.578 kB / 1.383 GB, free: 28.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/1.163, allocations: 292.7 kB / 1.383 GB, free: 28.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.163, allocations: 3.594 kB / 1.383 GB, free: 28.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/1.163, allocations: 23.02 kB / 1.383 GB, free: 28.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/1.163, allocations: 5.188 kB / 1.383 GB, free: 28.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/1.163, allocations: 17.98 kB / 1.383 GB, free: 28.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.163, allocations: 9.688 kB / 1.383 GB, free: 28.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.163, allocations: 7.812 kB / 1.383 GB, free: 28.32 MB / 0.8419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004661/1.164, allocations: 0.5798 MB / 1.384 GB, free: 27.83 MB / 0.8419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005647/1.164, allocations: 0.9532 MB / 1.385 GB, free: 26.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/1.164, allocations: 116.9 kB / 1.385 GB, free: 26.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/1.164, allocations: 11.05 kB / 1.385 GB, free: 26.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/1.164, allocations: 8.281 kB / 1.385 GB, free: 26.85 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/1.165, allocations: 56.19 kB / 1.385 GB, free: 26.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/1.165, allocations: 30.86 kB / 1.385 GB, free: 26.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 0.00013/1.165, allocations: 170.9 kB / 1.385 GB, free: 26.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001303/1.166, allocations: 173.1 kB / 1.385 GB, free: 26.73 MB / 0.8419 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.0001551/1.166, allocations: 137.3 kB / 1.386 GB, free: 26.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001289/1.167, allocations: 1.095 MB / 1.387 GB, free: 26.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.167, allocations: 0.9375 kB / 1.387 GB, free: 26.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/1.168, allocations: 166.2 kB / 1.387 GB, free: 26.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/1.168, allocations: 96.5 kB / 1.387 GB, free: 26.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/1.169, allocations: 481.1 kB / 1.387 GB, free: 25.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/1.169, allocations: 0.826 MB / 1.388 GB, free: 24.97 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/1.169, allocations: 0 / 1.388 GB, free: 24.97 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat