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.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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.368/1.368, allocations: 285.5 MB / 292.8 MB, free: 9.957 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.0008881/0.0008881, allocations: 183.5 kB / 361.1 MB, free: 352 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.026/1.026, allocations: 205.1 MB / 0.6195 GB, free: 2.918 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.0007695/0.0007695, allocations: 87 kB / 0.7326 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3634/0.3642, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.5098, allocations: 115.3 MB / 0.9638 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.9273, allocations: 138.1 MB / 1.099 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001674/0.9275, allocations: 71.56 kB / 1.099 GB, free: 32.16 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.01403/0.9415, allocations: 6.792 MB / 1.105 GB, free: 31.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.9416, allocations: 9.625 kB / 1.105 GB, free: 31.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.9417, allocations: 45.84 kB / 1.105 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.9422, allocations: 388.8 kB / 1.106 GB, free: 31.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.9422, allocations: 15.17 kB / 1.106 GB, free: 31.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.9422, allocations: 22.69 kB / 1.106 GB, free: 31.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002907/0.9425, allocations: 188.5 kB / 1.106 GB, free: 31.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.9429, allocations: 283.5 kB / 1.106 GB, free: 30.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9429, allocations: 1.031 kB / 1.106 GB, free: 30.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.943, allocations: 4 kB / 1.106 GB, free: 30.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.943, allocations: 7.75 kB / 1.106 GB, free: 30.99 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.9441, allocations: 1.102 MB / 1.107 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.9445, allocations: 181.5 kB / 1.108 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.9446, allocations: 97.03 kB / 1.108 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.9446, allocations: 7.938 kB / 1.108 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.9447, allocations: 135.9 kB / 1.108 GB, free: 30.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.9447, allocations: 0 / 1.108 GB, free: 30.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0002769/0.945, allocations: 191.1 kB / 1.108 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.9451, allocations: 138.6 kB / 1.108 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.9453, allocations: 254.7 kB / 1.108 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.9453, allocations: 29.7 kB / 1.108 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.9453, allocations: 190 kB / 1.109 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.9454, allocations: 70.78 kB / 1.109 GB, free: 29.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.9454, allocations: 0 / 1.109 GB, free: 29.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.9455, allocations: 341.7 kB / 1.109 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-05/0.9456, allocations: 70.34 kB / 1.109 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.9457, allocations: 146.2 kB / 1.109 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.9458, allocations: 88.55 kB / 1.109 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9458, allocations: 0 / 1.109 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003025/0.9461, allocations: 245.2 kB / 1.109 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.9463, allocations: 458.3 kB / 1.11 GB, free: 44.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9463, allocations: 10.58 kB / 1.11 GB, free: 44.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.9463, allocations: 0 / 1.11 GB, free: 44.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.9466, allocations: 63.25 kB / 1.11 GB, free: 44.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.9466, allocations: 0 / 1.11 GB, free: 44.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.9468, allocations: 39.81 kB / 1.11 GB, free: 44.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.9468, allocations: 14.14 kB / 1.11 GB, free: 44.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-06/0.9468, allocations: 7.812 kB / 1.11 GB, free: 44.92 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002363/0.9471, allocations: 179.6 kB / 1.11 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.9471, allocations: 3.875 kB / 1.11 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-06/0.9471, allocations: 0 / 1.11 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.9473, allocations: 51.03 kB / 1.11 GB, free: 44.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.9473, allocations: 3.875 kB / 1.11 GB, free: 44.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.9474, allocations: 26.09 kB / 1.11 GB, free: 44.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.9474, allocations: 11.28 kB / 1.11 GB, free: 44.89 MB / 0.7292 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 (31): * Single equations (assignments): 31 * 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.948e-05/0.9475, allocations: 117.7 kB / 1.11 GB, free: 44.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.9476, allocations: 27.38 kB / 1.11 GB, free: 44.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.9476, allocations: 32.2 kB / 1.11 GB, free: 44.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.9477, allocations: 3.844 kB / 1.11 GB, free: 44.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9477, allocations: 0 / 1.11 GB, free: 44.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9477, allocations: 6.828 kB / 1.11 GB, free: 44.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008307/0.9485, allocations: 0.7838 MB / 1.111 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9485, allocations: 3.875 kB / 1.111 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.9488, allocations: 56.06 kB / 1.111 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.9488, allocations: 3.875 kB / 1.111 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.9488, allocations: 3.875 kB / 1.111 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9488, allocations: 0 / 1.111 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9488, allocations: 7.812 kB / 1.111 GB, free: 44.31 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004365/0.9492, allocations: 0.5865 MB / 1.112 GB, free: 43.89 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006276/0.9499, allocations: 1.048 MB / 1.113 GB, free: 43.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.95, allocations: 118.6 kB / 1.113 GB, free: 42.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.95, allocations: 3.875 kB / 1.113 GB, free: 42.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.9502, allocations: 25.89 kB / 1.113 GB, free: 42.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.9503, allocations: 22.58 kB / 1.113 GB, free: 42.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.9503, allocations: 7.656 kB / 1.113 GB, free: 42.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001464/0.9504, allocations: 206.6 kB / 1.113 GB, free: 42.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001494/0.9519, allocations: 110.2 kB / 1.113 GB, free: 42.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 22 * 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.0001261/0.9521, allocations: 118.4 kB / 1.114 GB, free: 42.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.9524, allocations: 292 kB / 1.114 GB, free: 42.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.9524, allocations: 3.875 kB / 1.114 GB, free: 42.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.9525, allocations: 82.73 kB / 1.114 GB, free: 42.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.9529, allocations: 64.45 kB / 1.114 GB, free: 42.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/0.9539, allocations: 0.5253 MB / 1.114 GB, free: 42.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.9543, allocations: 0.8423 MB / 1.115 GB, free: 41.76 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9543, allocations: 0 / 1.115 GB, free: 41.76 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)