Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.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.Validation.AddParameter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",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.233/1.233, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.0009676/0.0009676, allocations: 180.4 kB / 316 MB, free: 3.57 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.122/1.122, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008415/0.0008416, allocations: 80.48 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3187/0.3196, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.4819, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4694/0.9514, allocations: 131.6 MB / 1.013 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.9516, allocations: 67.08 kB / 1.013 GB, free: 6.906 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001655/0.9533, allocations: 0.6614 MB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.9534, allocations: 16 kB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.9534, allocations: 0.75 kB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.9535, allocations: 170.9 kB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.9535, allocations: 4 kB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.9535, allocations: 0 / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.991e-05/0.9536, allocations: 11.62 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.996e-05/0.9536, allocations: 41.31 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.9537, allocations: 0 / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.9537, allocations: 3.984 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.9537, allocations: 3.938 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.954, allocations: 251.4 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.9541, allocations: 30.27 kB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.9541, allocations: 8.922 kB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.098e-06/0.9541, allocations: 0 / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.9542, allocations: 37.69 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.9542, allocations: 0 / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.9543, allocations: 41.3 kB / 1.014 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.9543, allocations: 55.41 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.475e-05/0.9544, allocations: 96.45 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.9544, allocations: 32.33 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.9544, allocations: 80.14 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.9545, allocations: 7.906 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.9545, allocations: 0 / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.9545, allocations: 314.7 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.9546, allocations: 4 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.9546, allocations: 7.812 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.558e-05/0.9546, allocations: 3.984 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.9546, allocations: 4.062 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.316e-05/0.9547, allocations: 48.98 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.9547, allocations: 4 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.9547, allocations: 0 / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.9547, allocations: 0 / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.9548, allocations: 15.98 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.9548, allocations: 1.875 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.9549, allocations: 8.031 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.9549, allocations: 4 kB / 1.015 GB, free: 4.867 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 (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 6.087e-05/0.955, allocations: 108.6 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.955, allocations: 3.906 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.955, allocations: 11.58 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.955, allocations: 0 / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.955, allocations: 0 / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.955, allocations: 4 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.9552, allocations: 138.1 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9552, allocations: 7.922 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.9553, allocations: 8 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9553, allocations: 4 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.9553, allocations: 0 / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.9553, allocations: 0 / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9553, allocations: 0.9375 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001266/0.9554, allocations: 150.2 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001703/0.9556, allocations: 0.5069 MB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.9556, allocations: 81.05 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.9557, allocations: 4.062 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.9557, allocations: 11.98 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.9558, allocations: 0 / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.9558, allocations: 256 / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.058e-05/0.9558, allocations: 86.34 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007406/0.9566, allocations: 7.906 kB / 1.016 GB, free: 3.672 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 (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.0001272/0.9567, allocations: 107.2 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.898e-05/0.9568, allocations: 15.38 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9568, allocations: 0 / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.9568, allocations: 11.44 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.957, allocations: 0 / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001939/0.9572, allocations: 65.78 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.9574, allocations: 0.692 MB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.9574, allocations: 0 / 1.017 GB, free: 2.738 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1)