Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",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.1.4-maint.8.1.x/package.mo): time 1.376/1.376, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001035/0.001035, allocations: 169.3 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.106/1.106, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.000821/0.000821, allocations: 91.42 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1976/0.1984, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.6542, allocations: 116.3 MB / 0.9727 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.7934, allocations: 137.7 MB / 1.107 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.7936, allocations: 64.66 kB / 1.107 GB, free: 10.77 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001681/0.7953, allocations: 0.6275 MB / 1.108 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7954, allocations: 8 kB / 1.108 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.7954, allocations: 5.219 kB / 1.108 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.7955, allocations: 179 kB / 1.108 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.7956, allocations: 0 / 1.108 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.7956, allocations: 0 / 1.108 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.692e-05/0.7957, allocations: 12 kB / 1.108 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.588e-05/0.7957, allocations: 37.61 kB / 1.108 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.7958, allocations: 0 / 1.108 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.7958, allocations: 3.984 kB / 1.108 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.7958, allocations: 0 / 1.108 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.7962, allocations: 245.5 kB / 1.108 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/0.7962, allocations: 30.48 kB / 1.108 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.7963, allocations: 8.922 kB / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.7963, allocations: 0 / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.7963, allocations: 34.56 kB / 1.108 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7963, allocations: 4.562 kB / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.7965, allocations: 37.69 kB / 1.108 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.7965, allocations: 59.34 kB / 1.108 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.7966, allocations: 93 kB / 1.108 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.7966, allocations: 25.7 kB / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.7966, allocations: 88.08 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.7966, allocations: 4.469 kB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.7966, allocations: 0 / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7968, allocations: 322.9 kB / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.7968, allocations: 4 kB / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.7968, allocations: 4 kB / 1.109 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.589e-05/0.7968, allocations: 4 kB / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7968, allocations: 4.75 kB / 1.109 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.715e-05/0.7969, allocations: 37.7 kB / 1.109 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7969, allocations: 4 kB / 1.109 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7969, allocations: 4 kB / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.797, allocations: 4.094 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.7971, allocations: 15.92 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.7971, allocations: 0 / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.7971, allocations: 11.98 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.7972, allocations: 7.922 kB / 1.109 GB, free: 8.684 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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 7.425e-05/0.7972, allocations: 110.3 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.7973, allocations: 8 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.7973, allocations: 3.312 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.7973, allocations: 0 / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.7973, allocations: 0 / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7973, allocations: 3.906 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.7975, allocations: 138.2 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7975, allocations: 0 / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.7975, allocations: 17.03 kB / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7976, allocations: 0 / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.7976, allocations: 0 / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7976, allocations: 0 / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7976, allocations: 4.234 kB / 1.109 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.589e-05/0.7977, allocations: 135.5 kB / 1.109 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001913/0.7979, allocations: 0.5194 MB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.7979, allocations: 77.11 kB / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.7979, allocations: 0 / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.798, allocations: 11.98 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.7981, allocations: 7.938 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.7981, allocations: 0.6562 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.193e-05/0.7981, allocations: 83.28 kB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007375/0.7989, allocations: 4 kB / 1.11 GB, free: 7.473 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.0001398/0.799, allocations: 103.2 kB / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.874e-05/0.7991, allocations: 12 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7991, allocations: 0 / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.7991, allocations: 7.938 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.7993, allocations: 4.781 kB / 1.11 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.7995, allocations: 62.52 kB / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.7998, allocations: 0.688 MB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7998, allocations: 5.156 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)