Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",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.791/1.791, allocations: 390.4 MB / 397.7 MB, free: 5.133 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.000955/0.000955, allocations: 179.6 kB / 490.8 MB, free: 4.715 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.121/1.121, allocations: 221.4 MB / 0.7863 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008372/0.0008371, allocations: 89.39 kB / 0.9264 GB, free: 64.64 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 0.2104/0.2113, allocations: 149.2 MB / 1.072 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.424, allocations: 143 MB / 1.212 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.505/0.9291, allocations: 148.7 MB / 1.357 GB, free: 50.22 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001562/0.9293, allocations: 71.95 kB / 1.357 GB, free: 50.15 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001108/0.9304, allocations: 0.5479 MB / 1.357 GB, free: 49.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.9304, allocations: 8 kB / 1.357 GB, free: 49.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.9304, allocations: 0.9688 kB / 1.357 GB, free: 49.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.183e-05/0.9305, allocations: 167.8 kB / 1.358 GB, free: 49.37 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.9305, allocations: 5 kB / 1.358 GB, free: 49.37 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.9305, allocations: 0 / 1.358 GB, free: 49.37 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.859e-05/0.9306, allocations: 4 kB / 1.358 GB, free: 49.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.025e-05/0.9306, allocations: 38.34 kB / 1.358 GB, free: 49.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-06/0.9306, allocations: 0.5625 kB / 1.358 GB, free: 49.32 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.9307, allocations: 0 / 1.358 GB, free: 49.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.9307, allocations: 0.8438 kB / 1.358 GB, free: 49.32 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.129e-05/0.9307, allocations: 135.6 kB / 1.358 GB, free: 49.15 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 2.601e-05/0.9308, allocations: 26.91 kB / 1.358 GB, free: 49.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.9308, allocations: 8.797 kB / 1.358 GB, free: 49.11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.9308, allocations: 4.562 kB / 1.358 GB, free: 49.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.437e-06/0.9308, allocations: 32.34 kB / 1.358 GB, free: 49.07 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.9308, allocations: 0 / 1.358 GB, free: 49.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 8.495e-05/0.9309, allocations: 37.64 kB / 1.358 GB, free: 49.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.154e-05/0.9309, allocations: 54.47 kB / 1.358 GB, free: 48.96 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.7e-05/0.931, allocations: 97.92 kB / 1.358 GB, free: 48.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.931, allocations: 25.7 kB / 1.358 GB, free: 48.83 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-06/0.931, allocations: 84.14 kB / 1.358 GB, free: 48.75 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.931, allocations: 3.906 kB / 1.358 GB, free: 48.74 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.931, allocations: 0 / 1.358 GB, free: 48.74 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 2.987e-05/0.9311, allocations: 311.7 kB / 1.358 GB, free: 48.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.9311, allocations: 8 kB / 1.358 GB, free: 48.42 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.9311, allocations: 0.6875 kB / 1.358 GB, free: 48.42 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.139e-05/0.9311, allocations: 4.906 kB / 1.359 GB, free: 48.42 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9311, allocations: 0 / 1.359 GB, free: 48.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.72e-05/0.9312, allocations: 35.97 kB / 1.359 GB, free: 48.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.9312, allocations: 8 kB / 1.359 GB, free: 48.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.9312, allocations: 8.453 kB / 1.359 GB, free: 48.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.9312, allocations: 0.9688 kB / 1.359 GB, free: 48.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.9313, allocations: 14 kB / 1.359 GB, free: 48.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.9313, allocations: 0 / 1.359 GB, free: 48.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.9314, allocations: 14.33 kB / 1.359 GB, free: 48.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.9314, allocations: 0 / 1.359 GB, free: 48.34 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.051e-05/0.9314, allocations: 101 kB / 1.359 GB, free: 48.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.9314, allocations: 4.438 kB / 1.359 GB, free: 48.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.9314, allocations: 5.062 kB / 1.359 GB, free: 48.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.9315, allocations: 5.531 kB / 1.359 GB, free: 48.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.9315, allocations: 1.094 kB / 1.359 GB, free: 48.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.9315, allocations: 0 / 1.359 GB, free: 48.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.037e-05/0.9315, allocations: 135.3 kB / 1.359 GB, free: 48.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.9315, allocations: 1.406 kB / 1.359 GB, free: 48.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.9316, allocations: 9.031 kB / 1.359 GB, free: 48.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.9316, allocations: 4 kB / 1.359 GB, free: 48.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.9316, allocations: 0.5625 kB / 1.359 GB, free: 48.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9316, allocations: 3.906 kB / 1.359 GB, free: 48.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9316, allocations: 0.5 kB / 1.359 GB, free: 48.04 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.328e-05/0.9317, allocations: 62.66 kB / 1.359 GB, free: 47.96 MB / 0.8731 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 7.09e-05/0.9318, allocations: 447.8 kB / 1.359 GB, free: 47.51 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.9318, allocations: 77.11 kB / 1.359 GB, free: 47.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.9318, allocations: 0 / 1.359 GB, free: 47.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.9318, allocations: 15.33 kB / 1.359 GB, free: 47.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.9319, allocations: 10.33 kB / 1.359 GB, free: 47.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.9319, allocations: 0 / 1.359 GB, free: 47.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.528e-05/0.9319, allocations: 84.59 kB / 1.36 GB, free: 47.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006914/0.9326, allocations: 4 kB / 1.36 GB, free: 47.31 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 6.926e-05/0.9327, allocations: 95.75 kB / 1.36 GB, free: 47.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.18e-05/0.9327, allocations: 8.594 kB / 1.36 GB, free: 47.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.9327, allocations: 1.625 kB / 1.36 GB, free: 47.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.494e-05/0.9328, allocations: 7.938 kB / 1.36 GB, free: 47.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.9329, allocations: 7.984 kB / 1.36 GB, free: 47.19 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001246/0.933, allocations: 53.72 kB / 1.36 GB, free: 47.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.9331, allocations: 0.688 MB / 1.36 GB, free: 46.4 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9331, allocations: 0 / 1.36 GB, free: 46.4 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat does not exist to compare? outputFormat=mat