Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 249.4 MB / 256.7 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 177.3 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.2 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 86.28 kB / 0.671 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3303/0.3312, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.4842, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.9249, allocations: 131.5 MB / 1.013 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.9251, allocations: 70.89 kB / 1.013 GB, free: 6.953 MB / 0.6355 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.001422/0.9266, allocations: 0.5612 MB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.9266, allocations: 12 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.9267, allocations: 0.875 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.9268, allocations: 163 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.9268, allocations: 4 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.9268, allocations: 7.906 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.611e-05/0.9269, allocations: 3.5 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.171e-05/0.9269, allocations: 33.64 kB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.9269, allocations: 3.984 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.9269, allocations: 0.8438 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.9269, allocations: 0 / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.9271, allocations: 141.5 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.717e-05/0.9271, allocations: 25.86 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.9271, allocations: 4.859 kB / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.9272, allocations: 0 / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.9272, allocations: 34.62 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.9272, allocations: 0 / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001007/0.9273, allocations: 41.11 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.9273, allocations: 55.34 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.983e-05/0.9274, allocations: 96.84 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.9274, allocations: 25.7 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.9275, allocations: 86.75 kB / 1.014 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.9275, allocations: 4 kB / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.9275, allocations: 0 / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.9276, allocations: 314.8 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.9276, allocations: 3.5 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.9276, allocations: 4 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.238e-05/0.9276, allocations: 4.062 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.9276, allocations: 0 / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.555e-05/0.9277, allocations: 37.52 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.9277, allocations: 4 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.9277, allocations: 0 / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.9277, allocations: 4 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.9278, allocations: 11.98 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.9278, allocations: 0 / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.9279, allocations: 15.95 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.9279, allocations: 0 / 1.015 GB, free: 5.148 MB / 0.6355 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 5.961e-05/0.928, allocations: 108.9 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.928, allocations: 0 / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.928, allocations: 7.109 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.928, allocations: 0 / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.928, allocations: 4 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.928, allocations: 4 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.278e-05/0.9281, allocations: 133.8 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.9281, allocations: 0 / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.9282, allocations: 15.92 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.9282, allocations: 0 / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.9282, allocations: 4 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9282, allocations: 0.7031 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9282, allocations: 4 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.389e-05/0.9283, allocations: 64.91 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001824/0.9285, allocations: 441 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.9285, allocations: 81.09 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.9286, allocations: 4.062 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.9286, allocations: 11.81 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.9287, allocations: 3.984 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.9287, allocations: 0 / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.981e-05/0.9287, allocations: 79.28 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007021/0.9294, allocations: 4 kB / 1.016 GB, free: 4.113 MB / 0.6355 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 0.0001107/0.9295, allocations: 105.8 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.172e-05/0.9296, allocations: 14.56 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9296, allocations: 0 / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.485e-05/0.9296, allocations: 3.875 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.9298, allocations: 10.98 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.93, allocations: 51.86 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.9302, allocations: 0.692 MB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.9303, allocations: 0 / 1.017 GB, free: 3.191 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1)