Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.885/1.885, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 177.3 kB / 487 MB, free: 5.367 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.181/1.181, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008271/0.0008271, allocations: 105 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4334/0.4343, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.6328, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5417/1.174, allocations: 148.6 MB / 1.35 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/1.175, allocations: 70 kB / 1.351 GB, free: 16.14 MB / 0.8073 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.0054/1.18, allocations: 2.06 MB / 1.353 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/1.18, allocations: 9.625 kB / 1.353 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/1.18, allocations: 4.625 kB / 1.353 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/1.18, allocations: 181.7 kB / 1.353 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.18, allocations: 3.406 kB / 1.353 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/1.18, allocations: 4.625 kB / 1.353 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.884e-05/1.18, allocations: 15.3 kB / 1.353 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.933e-05/1.18, allocations: 43.59 kB / 1.353 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/1.181, allocations: 0 / 1.353 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/1.181, allocations: 4.625 kB / 1.353 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.181, allocations: 0.6875 kB / 1.353 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/1.181, allocations: 306.5 kB / 1.353 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/1.181, allocations: 36.11 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/1.181, allocations: 13.52 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/1.181, allocations: 1.031 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/1.181, allocations: 51.48 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/1.181, allocations: 0.75 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001458/1.181, allocations: 60.67 kB / 1.353 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.723e-05/1.181, allocations: 53.53 kB / 1.353 GB, free: 15 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/1.181, allocations: 118.1 kB / 1.353 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/1.181, allocations: 27.73 kB / 1.353 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/1.181, allocations: 84.91 kB / 1.354 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/1.181, allocations: 9.656 kB / 1.354 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/1.181, allocations: 1.094 kB / 1.354 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/1.181, allocations: 328 kB / 1.354 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.167e-05/1.182, allocations: 31.12 kB / 1.354 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/1.182, allocations: 53.05 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/1.182, allocations: 41.2 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.182, allocations: 0.9375 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002935/1.182, allocations: 133.4 kB / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.182, allocations: 4.438 kB / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.182, allocations: 1.094 kB / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/1.182, allocations: 5.125 kB / 1.354 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.155e-05/1.182, allocations: 4.859 kB / 1.354 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/1.182, allocations: 1.188 kB / 1.354 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/1.182, allocations: 38.94 kB / 1.354 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/1.182, allocations: 13.56 kB / 1.354 GB, free: 14.38 MB / 0.8073 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 5.427e-05/1.182, allocations: 104.5 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/1.183, allocations: 8.156 kB / 1.354 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/1.183, allocations: 9.953 kB / 1.354 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.183, allocations: 1.125 kB / 1.354 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.183, allocations: 7.906 kB / 1.354 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.183, allocations: 1.125 kB / 1.354 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.748e-05/1.183, allocations: 150.9 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.183, allocations: 0 / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/1.183, allocations: 2.781 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.183, allocations: 1.156 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/1.183, allocations: 1.172 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.183, allocations: 2.688 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.183, allocations: 0 / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.068e-05/1.183, allocations: 88.53 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001155/1.183, allocations: 470.6 kB / 1.355 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/1.183, allocations: 80.41 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/1.183, allocations: 1.078 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/1.183, allocations: 5.156 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/1.183, allocations: 7.266 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/1.183, allocations: 5.344 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.33e-05/1.183, allocations: 99.08 kB / 1.355 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008121/1.184, allocations: 25.11 kB / 1.355 GB, free: 13.39 MB / 0.8073 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.0001698/1.184, allocations: 112.1 kB / 1.355 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001763/1.184, allocations: 91.38 kB / 1.355 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.184, allocations: 0 / 1.355 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/1.184, allocations: 18.02 kB / 1.355 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/1.185, allocations: 17.08 kB / 1.355 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/1.185, allocations: 89.28 kB / 1.356 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/1.185, allocations: 0.6964 MB / 1.356 GB, free: 28.48 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/1.185, allocations: 0.8438 kB / 1.356 GB, free: 28.48 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat