Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_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 8.0.0/package.mo): time 2.266/2.266, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001645/0.001645, allocations: 185.2 kB / 360.3 MB, free: 7.551 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.782/1.782, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001272/0.001272, allocations: 94.06 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2836/0.285, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8251/1.11, allocations: 115.2 MB / 0.9628 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2613/1.371, allocations: 140.7 MB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.372, allocations: 84.88 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.03668/1.408, allocations: 8.755 MB / 1.109 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.409, allocations: 12.5 kB / 1.109 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/1.409, allocations: 51.34 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.41, allocations: 392.6 kB / 1.109 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/1.41, allocations: 12 kB / 1.109 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/1.41, allocations: 23.98 kB / 1.109 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007573/1.411, allocations: 221.5 kB / 1.109 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/1.412, allocations: 321.5 kB / 1.11 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/1.412, allocations: 3.906 kB / 1.11 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/1.412, allocations: 4 kB / 1.11 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/1.412, allocations: 8 kB / 1.11 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005147/1.417, allocations: 1.35 MB / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/1.419, allocations: 268 kB / 1.111 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/1.42, allocations: 104.8 kB / 1.111 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-05/1.42, allocations: 3.984 kB / 1.111 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005934/1.42, allocations: 149.1 kB / 1.112 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 4.268e-06/1.42, allocations: 4 kB / 1.112 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26): time 0.001178/1.421, allocations: 223 kB / 1.112 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.422, allocations: 128.5 kB / 1.112 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008909/1.423, allocations: 282.1 kB / 1.112 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.423, allocations: 25.7 kB / 1.112 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/1.423, allocations: 199.9 kB / 1.112 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/1.423, allocations: 86.66 kB / 1.113 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/1.423, allocations: 3.938 kB / 1.113 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002979/1.424, allocations: 350.8 kB / 1.113 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/1.424, allocations: 80 kB / 1.113 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/1.425, allocations: 147.6 kB / 1.113 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/1.425, allocations: 101.4 kB / 1.113 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/1.425, allocations: 4 kB / 1.113 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001344/1.426, allocations: 272.1 kB / 1.113 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004766/1.427, allocations: 453 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.427, allocations: 2.625 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/1.427, allocations: 4 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009553/1.428, allocations: 71.91 kB / 1.114 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/1.428, allocations: 4 kB / 1.114 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/1.429, allocations: 51.66 kB / 1.114 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/1.429, allocations: 10.81 kB / 1.114 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.429, allocations: 5.25 kB / 1.114 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009074/1.43, allocations: 195.8 kB / 1.114 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.43, allocations: 0 / 1.114 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.43, allocations: 4 kB / 1.114 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.431, allocations: 55.92 kB / 1.114 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/1.431, allocations: 7.938 kB / 1.114 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.432, allocations: 31.83 kB / 1.114 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.432, allocations: 8 kB / 1.114 GB, free: 1.477 MB / 0.7136 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 ($whenCondition1) * 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 0.0003904/1.433, allocations: 112.7 kB / 1.114 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/1.433, allocations: 39.53 kB / 1.114 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/1.433, allocations: 39.03 kB / 1.114 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.433, allocations: 8 kB / 1.114 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.433, allocations: 2.188 kB / 1.114 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.433, allocations: 0 / 1.114 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/1.435, allocations: 0.8693 MB / 1.115 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.435, allocations: 0 / 1.115 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/1.436, allocations: 64.17 kB / 1.115 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/1.436, allocations: 4 kB / 1.115 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/1.436, allocations: 8 kB / 1.115 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.436, allocations: 4 kB / 1.115 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.436, allocations: 7.938 kB / 1.115 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001173/1.437, allocations: 0.6737 MB / 1.116 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001616/1.439, allocations: 1.139 MB / 1.117 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/1.439, allocations: 117.5 kB / 1.117 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/1.439, allocations: 11.92 kB / 1.117 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/1.439, allocations: 23.98 kB / 1.117 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/1.44, allocations: 19.89 kB / 1.117 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/1.44, allocations: 12 kB / 1.117 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003946/1.44, allocations: 224.6 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002476/1.442, allocations: 123.3 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0002698/1.443, allocations: 111.2 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.444, allocations: 333.7 kB / 1.118 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.444, allocations: 0 / 1.118 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/1.444, allocations: 101.2 kB / 1.118 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009318/1.445, allocations: 73.42 kB / 1.118 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/1.448, allocations: 0.587 MB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007181/1.448, allocations: 0.8694 MB / 1.12 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of SimCode: time 1.273e-06/1.448, allocations: 0 / 1.12 GB, free: 11.54 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)