Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.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.Validation.Gain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.347/1.347, allocations: 285.5 MB / 292.8 MB, free: 9.848 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.0009255/0.0009254, allocations: 181.2 kB / 361.1 MB, free: 380 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.039/1.039, allocations: 205.1 MB / 0.6195 GB, free: 2.879 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007901/0.0007901, allocations: 92.28 kB / 0.7326 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3574/0.3583, allocations: 121.5 MB / 0.8512 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.503, allocations: 115.3 MB / 0.9638 GB, free: 56.24 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4119/0.915, allocations: 136.7 MB / 1.097 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001491/0.9151, allocations: 71.17 kB / 1.097 GB, free: 43.88 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.001325/0.9165, allocations: 0.6233 MB / 1.098 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.9165, allocations: 7.594 kB / 1.098 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.9166, allocations: 10.97 kB / 1.098 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.539e-05/0.9166, allocations: 159.1 kB / 1.098 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.9166, allocations: 3.188 kB / 1.098 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.9166, allocations: 0 / 1.098 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.438e-05/0.9167, allocations: 12 kB / 1.098 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.529e-05/0.9167, allocations: 35.16 kB / 1.098 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.9168, allocations: 0 / 1.098 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.9168, allocations: 13.17 kB / 1.098 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.9168, allocations: 0 / 1.098 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.917, allocations: 240.3 kB / 1.098 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.405e-05/0.9171, allocations: 28.33 kB / 1.098 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.9171, allocations: 8.078 kB / 1.098 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.9171, allocations: 0 / 1.098 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.278e-06/0.9171, allocations: 42.58 kB / 1.098 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.9172, allocations: 0 / 1.098 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000107/0.9173, allocations: 39.3 kB / 1.099 GB, free: 42.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.236e-05/0.9173, allocations: 58.62 kB / 1.099 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.703e-05/0.9173, allocations: 92.78 kB / 1.099 GB, free: 42.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.9173, allocations: 25.7 kB / 1.099 GB, free: 42.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.426e-05/0.9174, allocations: 94.48 kB / 1.099 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.9174, allocations: 3.906 kB / 1.099 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.9174, allocations: 0 / 1.099 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.9174, allocations: 310.8 kB / 1.099 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.9174, allocations: 10.53 kB / 1.099 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.9175, allocations: 7.188 kB / 1.099 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.355e-05/0.9175, allocations: 6.703 kB / 1.099 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.9175, allocations: 0 / 1.099 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.189e-05/0.9175, allocations: 45.03 kB / 1.099 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.9175, allocations: 7 kB / 1.099 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.9176, allocations: 0 / 1.099 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.9176, allocations: 0 / 1.099 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.9177, allocations: 18.95 kB / 1.099 GB, free: 42.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.9177, allocations: 12.25 kB / 1.099 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.9177, allocations: 6.438 kB / 1.099 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.9177, allocations: 1.156 kB / 1.099 GB, free: 42.3 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 3.075e-05/0.9178, allocations: 106 kB / 1.099 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.9178, allocations: 1.062 kB / 1.099 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766e-05/0.9178, allocations: 8.172 kB / 1.099 GB, free: 42.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.9178, allocations: 4 kB / 1.099 GB, free: 42.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.9178, allocations: 1.094 kB / 1.099 GB, free: 42.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.9178, allocations: 0 / 1.099 GB, free: 42.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.172e-05/0.9179, allocations: 140.8 kB / 1.099 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.9179, allocations: 0 / 1.099 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.918, allocations: 14.33 kB / 1.099 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.918, allocations: 0 / 1.099 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.918, allocations: 0 / 1.099 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.918, allocations: 4 kB / 1.099 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.918, allocations: 0 / 1.099 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.411e-05/0.9181, allocations: 140.8 kB / 1.1 GB, free: 57.88 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001461/0.9183, allocations: 0.5097 MB / 1.1 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.9183, allocations: 80.98 kB / 1.1 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.9183, allocations: 0 / 1.1 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.9184, allocations: 11.12 kB / 1.1 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.9184, allocations: 3.188 kB / 1.1 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.9184, allocations: 0 / 1.1 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.843e-05/0.9185, allocations: 81.09 kB / 1.1 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007335/0.9192, allocations: 15.09 kB / 1.1 GB, free: 57.2 MB / 0.7292 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 8.74e-05/0.9193, allocations: 105.4 kB / 1.1 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.457e-05/0.9194, allocations: 11.06 kB / 1.1 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9194, allocations: 0 / 1.1 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.9194, allocations: 11.06 kB / 1.1 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.9195, allocations: 7.688 kB / 1.1 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001472/0.9197, allocations: 61.81 kB / 1.1 GB, free: 57.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.9199, allocations: 0.6905 MB / 1.101 GB, free: 56.33 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/0.9199, allocations: 0 / 1.101 GB, free: 56.33 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)