Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.773/1.773, allocations: 390.4 MB / 397.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008907/0.0008907, allocations: 181.9 kB / 490.8 MB, free: 11.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.107/1.107, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.0008559, allocations: 95.94 kB / 0.9264 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2245/0.2254, allocations: 149.2 MB / 1.072 GB, free: 15.43 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.75, allocations: 143 MB / 1.212 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.8842, allocations: 149.4 MB / 1.358 GB, free: 42.23 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001608/0.8844, allocations: 72.52 kB / 1.358 GB, free: 42.16 MB / 0.8855 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.004963/0.8894, allocations: 2.064 MB / 1.36 GB, free: 40.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.8895, allocations: 8 kB / 1.36 GB, free: 40.08 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.8895, allocations: 9 kB / 1.36 GB, free: 40.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.441e-05/0.8896, allocations: 179.1 kB / 1.36 GB, free: 39.86 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.8896, allocations: 0.8125 kB / 1.36 GB, free: 39.86 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.8896, allocations: 4 kB / 1.36 GB, free: 39.85 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.511e-05/0.8897, allocations: 16 kB / 1.36 GB, free: 39.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.245e-05/0.8897, allocations: 46.75 kB / 1.36 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.8898, allocations: 0 / 1.36 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.8898, allocations: 0.625 kB / 1.36 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.8898, allocations: 0 / 1.36 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.8901, allocations: 307.2 kB / 1.36 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.646e-05/0.8901, allocations: 23.17 kB / 1.36 GB, free: 39.42 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.8902, allocations: 17.05 kB / 1.36 GB, free: 39.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.8902, allocations: 5.375 kB / 1.36 GB, free: 39.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.8902, allocations: 59.25 kB / 1.36 GB, free: 39.33 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8902, allocations: 0.9062 kB / 1.36 GB, free: 39.33 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001207/0.8904, allocations: 57.59 kB / 1.36 GB, free: 39.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.392e-05/0.8904, allocations: 51.97 kB / 1.36 GB, free: 39.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.8904, allocations: 113.7 kB / 1.361 GB, free: 39.09 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.8905, allocations: 29.7 kB / 1.361 GB, free: 39.05 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.8905, allocations: 89.12 kB / 1.361 GB, free: 38.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.8905, allocations: 7.906 kB / 1.361 GB, free: 38.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/0.8905, allocations: 0.8438 kB / 1.361 GB, free: 38.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.8906, allocations: 323.3 kB / 1.361 GB, free: 38.63 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.8906, allocations: 35.98 kB / 1.361 GB, free: 38.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.8907, allocations: 51.56 kB / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.8909, allocations: 49.86 kB / 1.361 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8909, allocations: 3.938 kB / 1.361 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002729/0.8912, allocations: 125.4 kB / 1.361 GB, free: 38.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.8912, allocations: 11.94 kB / 1.361 GB, free: 38.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8912, allocations: 4.656 kB / 1.361 GB, free: 38.35 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.8912, allocations: 0 / 1.361 GB, free: 38.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.291e-05/0.8912, allocations: 5.719 kB / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.8913, allocations: 0 / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.8914, allocations: 39.41 kB / 1.361 GB, free: 38.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.8915, allocations: 8.484 kB / 1.361 GB, free: 38.3 MB / 0.8855 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 4.441e-05/0.8915, allocations: 105.6 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.8915, allocations: 4.438 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.8916, allocations: 12.59 kB / 1.361 GB, free: 38.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.8916, allocations: 4.547 kB / 1.361 GB, free: 38.17 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8916, allocations: 0 / 1.361 GB, free: 38.17 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.8916, allocations: 0.5625 kB / 1.361 GB, free: 38.17 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.143e-05/0.8916, allocations: 158.8 kB / 1.362 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8917, allocations: 4 kB / 1.362 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.8917, allocations: 0.5 kB / 1.362 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8917, allocations: 3.469 kB / 1.362 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.8917, allocations: 0.5312 kB / 1.362 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.8917, allocations: 4.812 kB / 1.362 GB, free: 37.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8917, allocations: 3.938 kB / 1.362 GB, free: 37.97 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.001e-05/0.8918, allocations: 78.25 kB / 1.362 GB, free: 37.88 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.271e-05/0.8919, allocations: 469.4 kB / 1.362 GB, free: 37.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.8919, allocations: 81.02 kB / 1.362 GB, free: 37.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.8919, allocations: 0.9375 kB / 1.362 GB, free: 37.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.892, allocations: 0 / 1.362 GB, free: 37.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.892, allocations: 12.83 kB / 1.362 GB, free: 37.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.892, allocations: 0 / 1.362 GB, free: 37.29 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.205e-05/0.892, allocations: 97.5 kB / 1.362 GB, free: 37.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007366/0.8928, allocations: 20 kB / 1.362 GB, free: 37.18 MB / 0.8855 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.0001285/0.8929, allocations: 125.1 kB / 1.362 GB, free: 37.05 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.893, allocations: 85.69 kB / 1.363 GB, free: 36.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.8931, allocations: 4 kB / 1.363 GB, free: 36.95 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-05/0.8931, allocations: 16.66 kB / 1.363 GB, free: 36.94 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.8933, allocations: 17.02 kB / 1.363 GB, free: 36.92 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.8935, allocations: 80.77 kB / 1.363 GB, free: 36.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.8936, allocations: 0.6985 MB / 1.363 GB, free: 36.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.7e-07/0.8936, allocations: 1.625 kB / 1.363 GB, free: 36.1 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat