Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.282/4.282, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.097e-05, allocations: 3.438 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2149, allocations: 98.74 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2823/0.4972, allocations: 130.6 MB / 0.7564 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.4975, allocations: 83.89 kB / 0.7565 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06123/0.5588, allocations: 12.53 MB / 0.7687 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.965e-06/0.5589, allocations: 0 / 0.7687 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.039e-05/0.559, allocations: 12 kB / 0.7687 GB, free: 9.695 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003474/0.5625, allocations: 0.8804 MB / 0.7696 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 9.781e-05/0.5626, allocations: 15.97 kB / 0.7696 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.563, allocations: 82.97 kB / 0.7697 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.5649, allocations: 0.5272 MB / 0.7702 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.565, allocations: 20 kB / 0.7702 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.5652, allocations: 47.98 kB / 0.7703 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001877/0.5671, allocations: 398.6 kB / 0.7707 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.5692, allocations: 0.5247 MB / 0.7712 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.5693, allocations: 7.984 kB / 0.7712 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.5694, allocations: 0 / 0.7712 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.5695, allocations: 20 kB / 0.7712 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007618/0.5771, allocations: 1.992 MB / 0.7731 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.5787, allocations: 407.5 kB / 0.7735 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007206/0.5795, allocations: 202.5 kB / 0.7737 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.866e-05/0.5796, allocations: 8.375 kB / 0.7737 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008998/0.5805, allocations: 240.5 kB / 0.774 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 5.741e-06/0.5806, allocations: 0 / 0.774 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.001659/0.5822, allocations: 403.4 kB / 0.7744 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.5824, allocations: 158.7 kB / 0.7745 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009838/0.5834, allocations: 353.2 kB / 0.7748 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.5836, allocations: 29.7 kB / 0.7749 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004994/0.5841, allocations: 321 kB / 0.7752 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/0.5844, allocations: 161.7 kB / 0.7753 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.5845, allocations: 0 / 0.7753 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002461/0.5847, allocations: 362.8 kB / 0.7757 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/0.5854, allocations: 145.1 kB / 0.7758 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007897/0.5862, allocations: 250.4 kB / 0.7761 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.587, allocations: 170.1 kB / 0.7762 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.587, allocations: 4 kB / 0.7762 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001907/0.5889, allocations: 482.3 kB / 0.7767 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004099/0.5894, allocations: 0.6396 MB / 0.7773 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.5894, allocations: 3.984 kB / 0.7773 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/0.5894, allocations: 4 kB / 0.7773 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.5911, allocations: 127.8 kB / 0.7774 GB, free: 444 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.5911, allocations: 4 kB / 0.7774 GB, free: 440 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.5924, allocations: 67.64 kB / 0.7775 GB, free: 372 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.5925, allocations: 19.98 kB / 0.7775 GB, free: 352 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5925, allocations: 5.562 kB / 0.7775 GB, free: 348 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5337/1.126, allocations: 377.2 kB / 0.7779 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.126, allocations: 4.078 kB / 0.7779 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.126, allocations: 5.062 kB / 0.7779 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009582/1.127, allocations: 109.4 kB / 0.778 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.127, allocations: 3.375 kB / 0.778 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/1.128, allocations: 56.17 kB / 0.7781 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/1.128, allocations: 18.38 kB / 0.7781 GB, free: 137.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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.0001987/1.128, allocations: 117.7 kB / 0.7782 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001004/1.129, allocations: 410.1 kB / 0.7786 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.129, allocations: 54.5 kB / 0.7786 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/1.13, allocations: 56.47 kB / 0.7787 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/1.13, allocations: 5.625 kB / 0.7787 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.13, allocations: 0 / 0.7787 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/1.13, allocations: 6.484 kB / 0.7787 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/1.132, allocations: 1.1 MB / 0.7798 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.132, allocations: 1.5 kB / 0.7798 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009933/1.133, allocations: 112.4 kB / 0.7799 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/1.133, allocations: 4.094 kB / 0.7799 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/1.133, allocations: 3.859 kB / 0.7799 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/1.133, allocations: 0 / 0.7799 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.133, allocations: 3.172 kB / 0.7799 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/1.135, allocations: 0.7125 MB / 0.7806 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/1.135, allocations: 181.5 kB / 0.7808 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/1.135, allocations: 10.45 kB / 0.7808 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/1.136, allocations: 43.86 kB / 0.7808 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.136, allocations: 32.53 kB / 0.7808 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/1.136, allocations: 20.66 kB / 0.7809 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000499/1.137, allocations: 277.4 kB / 0.7811 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.137, allocations: 0.5 kB / 0.7811 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001175/1.138, allocations: 242.5 kB / 0.7814 GB, free: 137 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00178/1.14, allocations: 1.263 MB / 0.7826 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001534/1.141, allocations: 0.7166 MB / 0.7833 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.141, allocations: 0 / 0.7833 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004691/1.142, allocations: 200.2 kB / 0.7835 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/1.143, allocations: 119.2 kB / 0.7836 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/1.148, allocations: 1.355 MB / 0.7849 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/1.148, allocations: 0.904 MB / 0.7858 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008741/1.149, allocations: 97.02 kB / 0.7859 GB, free: 135 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/1.15, allocations: 220 kB / 0.7861 GB, free: 135 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.15, allocations: 0 / 0.7861 GB, free: 135 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06874/1.218, allocations: 11.51 MB / 0.7973 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/1.219, allocations: 159.7 kB / 0.7975 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.045/4.264, allocations: 0 / 0.7975 GB, free: 134.2 MB / 0.6511 GB