Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009959/0.0009959, allocations: 185.2 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9881/0.9881, allocations: 205.1 MB / 0.6195 GB, free: 11.93 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007878/0.0007879, allocations: 95.44 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1737/0.1745, allocations: 121.5 MB / 0.8512 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.5766, allocations: 115.3 MB / 0.9638 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.7054, allocations: 136.6 MB / 1.097 GB, free: 3.457 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.7057, allocations: 77.25 kB / 1.097 GB, free: 3.383 MB / 0.698 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.001218/0.7069, allocations: 0.5496 MB / 1.098 GB, free: 2.812 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.7069, allocations: 8 kB / 1.098 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.707, allocations: 0 / 1.098 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.25e-05/0.7071, allocations: 172.7 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.7071, allocations: 0 / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.7071, allocations: 0.6875 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.195e-05/0.7071, allocations: 7.938 kB / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.5e-05/0.7072, allocations: 34.56 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-06/0.7072, allocations: 0 / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.7072, allocations: 0.75 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.7072, allocations: 4 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.7073, allocations: 131.1 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.192e-05/0.7074, allocations: 24.58 kB / 1.098 GB, free: 2.352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.7074, allocations: 5.359 kB / 1.098 GB, free: 2.344 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.7074, allocations: 4.656 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.7074, allocations: 32.03 kB / 1.098 GB, free: 2.301 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.7074, allocations: 2.078 kB / 1.098 GB, free: 2.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 9.315e-05/0.7075, allocations: 38.45 kB / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.7075, allocations: 51.41 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.82e-05/0.7076, allocations: 94.33 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.7076, allocations: 28.8 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.7076, allocations: 88.14 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.7077, allocations: 4.469 kB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.7077, allocations: 0.5312 kB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.7077, allocations: 311.4 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.7078, allocations: 5.156 kB / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.7078, allocations: 4 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.352e-05/0.7078, allocations: 5.469 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.7078, allocations: 0 / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.351e-05/0.7079, allocations: 37.55 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.7079, allocations: 12.61 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.7079, allocations: 0 / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.7079, allocations: 2 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.708, allocations: 13.31 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.708, allocations: 0.5312 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.7081, allocations: 17.17 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.7081, allocations: 5.016 kB / 1.099 GB, free: 1.562 MB / 0.698 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 4.654e-05/0.7081, allocations: 101 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-06/0.7081, allocations: 3.906 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.7082, allocations: 3.156 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.7082, allocations: 4 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.7082, allocations: 0 / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7082, allocations: 3.984 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.945e-05/0.7082, allocations: 130.2 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7083, allocations: 6.062 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.7083, allocations: 13.38 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7083, allocations: 0 / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.7083, allocations: 4.422 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.7083, allocations: 0 / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7083, allocations: 3.984 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.054e-05/0.7084, allocations: 65.08 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001234/0.7085, allocations: 444.3 kB / 1.1 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.7086, allocations: 77.11 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.7086, allocations: 3.906 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.7086, allocations: 12.06 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.7087, allocations: 6.438 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.7087, allocations: 0 / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-05/0.7087, allocations: 83.28 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00071/0.7094, allocations: 4 kB / 1.1 GB, free: 0.5195 MB / 0.698 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 8.477e-05/0.7095, allocations: 99.59 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.297e-05/0.7096, allocations: 8 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7096, allocations: 8 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.7096, allocations: 8 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.7097, allocations: 7.797 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000142/0.7099, allocations: 52.73 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.7101, allocations: 0.6841 MB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7101, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1)