Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.276/2.276, allocations: 248.6 MB / 255.9 MB, free: 368 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 180.3 kB / 315.1 MB, free: 7.773 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.353/2.353, allocations: 205.1 MB / 0.5658 GB, free: 25.48 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.001423/0.001422, allocations: 87.58 kB / 0.67 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3085/0.31, allocations: 112.4 MB / 0.7797 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.8755, allocations: 106.2 MB / 0.8835 GB, free: 77.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2758/1.151, allocations: 133 MB / 1.013 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004147/1.152, allocations: 79.95 kB / 1.013 GB, free: 7.953 MB / 0.6667 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.03658/1.188, allocations: 8.25 MB / 1.022 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.188, allocations: 8 kB / 1.022 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/1.189, allocations: 51.34 kB / 1.022 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/1.19, allocations: 395.2 kB / 1.022 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/1.19, allocations: 16 kB / 1.022 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/1.19, allocations: 20 kB / 1.022 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007514/1.191, allocations: 213.5 kB / 1.022 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/1.192, allocations: 307.8 kB / 1.022 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/1.192, allocations: 3.938 kB / 1.022 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/1.192, allocations: 0 / 1.022 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/1.192, allocations: 11.91 kB / 1.022 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/1.195, allocations: 1.324 MB / 1.024 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/1.196, allocations: 266.7 kB / 1.024 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/1.196, allocations: 100.9 kB / 1.024 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/1.196, allocations: 8 kB / 1.024 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.196, allocations: 38.55 kB / 1.024 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/1.196, allocations: 0 / 1.024 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0007299/1.197, allocations: 222.1 kB / 1.024 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/1.197, allocations: 110.8 kB / 1.024 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/1.198, allocations: 282.1 kB / 1.025 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/1.198, allocations: 25.7 kB / 1.025 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/1.198, allocations: 199.9 kB / 1.025 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/1.198, allocations: 82.75 kB / 1.025 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/1.198, allocations: 0 / 1.025 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002493/1.198, allocations: 346.7 kB / 1.025 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/1.199, allocations: 80 kB / 1.025 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/1.199, allocations: 147.6 kB / 1.026 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/1.199, allocations: 98.31 kB / 1.026 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.199, allocations: 0 / 1.026 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009028/1.2, allocations: 278.6 kB / 1.026 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002933/1.201, allocations: 445.1 kB / 1.026 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.201, allocations: 4 kB / 1.026 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/1.201, allocations: 7.844 kB / 1.026 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.202, allocations: 71.91 kB / 1.026 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.202, allocations: 0 / 1.026 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/1.203, allocations: 47.75 kB / 1.027 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/1.203, allocations: 12 kB / 1.027 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/1.203, allocations: 4 kB / 1.027 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006804/1.203, allocations: 203.7 kB / 1.027 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.203, allocations: 0 / 1.027 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.203, allocations: 7.906 kB / 1.027 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/1.204, allocations: 51.92 kB / 1.027 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.204, allocations: 3.984 kB / 1.027 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/1.204, allocations: 27.94 kB / 1.027 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/1.204, allocations: 8 kB / 1.027 GB, free: 9.957 MB / 0.6823 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 0.0001519/1.204, allocations: 112.9 kB / 1.027 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.205, allocations: 35.53 kB / 1.027 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/1.205, allocations: 35.19 kB / 1.027 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.205, allocations: 4 kB / 1.027 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.205, allocations: 0 / 1.027 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.205, allocations: 4 kB / 1.027 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/1.207, allocations: 0.7754 MB / 1.028 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.207, allocations: 0 / 1.028 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/1.208, allocations: 59.91 kB / 1.028 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.737e-05/1.208, allocations: 8.188 kB / 1.028 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/1.208, allocations: 8 kB / 1.028 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/1.208, allocations: 4 kB / 1.028 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/1.208, allocations: 7.938 kB / 1.028 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001663/1.21, allocations: 0.5729 MB / 1.028 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002232/1.212, allocations: 1.05 MB / 1.029 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/1.212, allocations: 116.6 kB / 1.03 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.212, allocations: 3.984 kB / 1.03 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/1.213, allocations: 27.98 kB / 1.03 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/1.213, allocations: 27.83 kB / 1.03 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/1.213, allocations: 8 kB / 1.03 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005793/1.214, allocations: 220.6 kB / 1.03 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004764/1.219, allocations: 119.4 kB / 1.03 GB, free: 6.473 MB / 0.6823 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.0003496/1.219, allocations: 119.1 kB / 1.03 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001558/1.221, allocations: 323.3 kB / 1.03 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.221, allocations: 0 / 1.03 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004013/1.221, allocations: 100.6 kB / 1.03 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.222, allocations: 73.34 kB / 1.031 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/1.226, allocations: 0.5693 MB / 1.031 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.227, allocations: 0.854 MB / 1.032 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/1.227, allocations: 0 / 1.032 GB, free: 4.355 MB / 0.6823 GB