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.LimPIDInitialDerivativeOutput.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.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",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.312/1.312, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.0009822/0.0009821, allocations: 181.2 kB / 316 MB, free: 3.574 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.293/1.293, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008183/0.0008183, allocations: 86.11 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3368/0.3377, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.4924, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4567/0.9492, allocations: 134.2 MB / 1.016 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.9494, allocations: 77.77 kB / 1.016 GB, free: 4.598 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.01932/0.9687, allocations: 8.248 MB / 1.024 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.9688, allocations: 8 kB / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.9689, allocations: 59.28 kB / 1.024 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.9694, allocations: 396.6 kB / 1.024 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.9695, allocations: 12 kB / 1.024 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.9695, allocations: 20 kB / 1.024 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003579/0.9699, allocations: 215 kB / 1.025 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.9703, allocations: 308.1 kB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.9703, allocations: 3.938 kB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.9704, allocations: 3.906 kB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.9704, allocations: 8 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.972, allocations: 1.321 MB / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.9727, allocations: 262.8 kB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.9728, allocations: 100.7 kB / 1.027 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.9728, allocations: 11.36 kB / 1.027 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.9729, allocations: 34.55 kB / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.9729, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.0003727/0.9733, allocations: 214.8 kB / 1.027 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.9733, allocations: 106.8 kB / 1.027 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.9736, allocations: 286.6 kB / 1.027 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.9736, allocations: 25.7 kB / 1.027 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.9738, allocations: 193.8 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.9738, allocations: 89.59 kB / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.9738, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.974, allocations: 347.7 kB / 1.028 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.9741, allocations: 80.11 kB / 1.028 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.9743, allocations: 150.1 kB / 1.028 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.9744, allocations: 95.16 kB / 1.028 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9744, allocations: 0 / 1.028 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003915/0.9748, allocations: 279.5 kB / 1.028 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.975, allocations: 445.9 kB / 1.029 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.975, allocations: 11.91 kB / 1.029 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.975, allocations: 0 / 1.029 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.9753, allocations: 70.78 kB / 1.029 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9753, allocations: 3.938 kB / 1.029 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.9756, allocations: 51.69 kB / 1.029 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.9756, allocations: 11.44 kB / 1.029 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-06/0.9756, allocations: 4 kB / 1.029 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002877/0.9759, allocations: 207.1 kB / 1.029 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.9759, allocations: 0 / 1.029 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-06/0.9759, allocations: 4 kB / 1.029 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.9761, allocations: 55.22 kB / 1.029 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.9761, allocations: 4 kB / 1.029 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.9763, allocations: 23.94 kB / 1.029 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.9763, allocations: 11.98 kB / 1.029 GB, free: 8.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 9.255e-05/0.9764, allocations: 116.3 kB / 1.029 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.9765, allocations: 31.62 kB / 1.029 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.9766, allocations: 36.06 kB / 1.029 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9766, allocations: 4 kB / 1.029 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9766, allocations: 0 / 1.029 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.9766, allocations: 3.906 kB / 1.029 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.9776, allocations: 0.771 MB / 1.03 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.9776, allocations: 3.906 kB / 1.03 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.9779, allocations: 58.34 kB / 1.03 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.9779, allocations: 4 kB / 1.03 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.9779, allocations: 4 kB / 1.03 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.9779, allocations: 4 kB / 1.03 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.9779, allocations: 7.938 kB / 1.03 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005698/0.9785, allocations: 0.5801 MB / 1.031 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000696/0.9792, allocations: 1.043 MB / 1.032 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.9793, allocations: 112.5 kB / 1.032 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.9794, allocations: 7.984 kB / 1.032 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.9796, allocations: 27.98 kB / 1.032 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.9796, allocations: 23.77 kB / 1.032 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.9796, allocations: 8 kB / 1.032 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001867/0.9798, allocations: 221.2 kB / 1.032 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001512/0.9814, allocations: 126.6 kB / 1.032 GB, free: 5.961 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001528/0.9815, allocations: 115.1 kB / 1.032 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004567/0.982, allocations: 321.9 kB / 1.033 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.982, allocations: 4 kB / 1.033 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.9821, allocations: 96.42 kB / 1.033 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.9826, allocations: 88.33 kB / 1.033 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.9837, allocations: 0.5671 MB / 1.033 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.9841, allocations: 0.8579 MB / 1.034 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/0.9842, allocations: 0 / 1.034 GB, free: 4.047 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)