Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 44.5 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.06/11.16, allocations: 3.686 GB / 3.987 GB, free: 102.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/11.16, allocations: 89.64 kB / 3.987 GB, free: 102.3 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 5.105/16.27, allocations: 0.8997 GB / 4.887 GB, free: 25.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.475e-06/16.27, allocations: 0 / 4.887 GB, free: 25.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003673/16.27, allocations: 75.89 kB / 4.887 GB, free: 25.46 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.03048/16.3, allocations: 6.318 MB / 4.893 GB, free: 22.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/16.3, allocations: 12.62 kB / 4.893 GB, free: 22.27 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002953/16.3, allocations: 457.2 kB / 4.893 GB, free: 22.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/16.31, allocations: 410.8 kB / 4.894 GB, free: 22.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/16.32, allocations: 2.411 MB / 4.896 GB, free: 21.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006125/16.32, allocations: 359.2 kB / 4.896 GB, free: 21.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002157/16.32, allocations: 306.7 kB / 4.897 GB, free: 21.33 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/16.34, allocations: 5.284 MB / 4.902 GB, free: 20.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001992/16.34, allocations: 14.62 kB / 4.902 GB, free: 20.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00191/16.34, allocations: 132.4 kB / 4.902 GB, free: 20.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004677/16.34, allocations: 261.7 kB / 4.902 GB, free: 20.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/16.36, allocations: 5.615 MB / 4.908 GB, free: 20.67 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05373/16.42, allocations: 20.45 MB / 4.928 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/16.43, allocations: 3.571 MB / 4.931 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003841/16.43, allocations: 3.215 MB / 4.934 GB, free: 23.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008187/16.44, allocations: 2.565 MB / 4.937 GB, free: 22.54 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002867/16.44, allocations: 280.3 kB / 4.937 GB, free: 22.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=316): time 1.212e-05/16.44, allocations: 0 / 4.937 GB, free: 22.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=376): time 0.2319/16.67, allocations: 33.79 MB / 4.97 GB, free: 3.211 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/16.67, allocations: 333.5 kB / 4.97 GB, free: 2.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005168/16.68, allocations: 1.858 MB / 4.972 GB, free: 1.215 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001488/16.68, allocations: 101.5 kB / 4.972 GB, free: 1.113 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.4023/17.08, allocations: 1.229 MB / 4.974 GB, free: 40.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002792/17.09, allocations: 1.32 MB / 4.975 GB, free: 40.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/17.09, allocations: 87.97 kB / 4.975 GB, free: 40.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005582/17.09, allocations: 490.1 kB / 4.975 GB, free: 40.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01111/17.1, allocations: 2.897 MB / 4.978 GB, free: 40.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/17.11, allocations: 3.895 MB / 4.982 GB, free: 39.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/17.13, allocations: 3.469 MB / 4.985 GB, free: 39.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.665e-05/17.13, allocations: 8.938 kB / 4.985 GB, free: 39.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.04651/17.17, allocations: 9.743 MB / 4.995 GB, free: 38.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002557/17.17, allocations: 10.75 MB / 5.005 GB, free: 27.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/17.18, allocations: 29.5 kB / 5.005 GB, free: 27.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0182/17.19, allocations: 2.735 MB / 5.008 GB, free: 27.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008405/17.2, allocations: 0.9391 MB / 5.009 GB, free: 27.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/17.22, allocations: 6.71 MB / 5.016 GB, free: 24.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008692/17.23, allocations: 0.5355 MB / 5.016 GB, free: 24.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/17.23, allocations: 246.6 kB / 5.016 GB, free: 24.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/17.23, allocations: 2.812 kB / 5.016 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03809/17.27, allocations: 8.79 MB / 5.025 GB, free: 24.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/17.27, allocations: 25.94 kB / 5.025 GB, free: 24.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01647/17.28, allocations: 2.573 MB / 5.027 GB, free: 24.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008412/17.29, allocations: 0.9653 MB / 5.028 GB, free: 24.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/17.31, allocations: 6.56 MB / 5.035 GB, free: 20.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007585/17.31, allocations: 0.5231 MB / 5.035 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/17.32, allocations: 238.7 kB / 5.036 GB, free: 20.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * Number of states: 0 () * Number of discrete variables: 16 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,$whenCondition1,$PRE.NumberOfPeople.nextTimeEvent,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],NumberOfPeople.nextTimeEvent,$PRE.NumberOfPeople.nextTimeEventScaled,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (499): * Single equations (assignments): 489 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.004885/17.32, allocations: 1.104 MB / 5.037 GB, free: 20.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/17.32, allocations: 302.5 kB / 5.037 GB, free: 20.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03315/17.36, allocations: 8.669 MB / 5.045 GB, free: 20.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-05/17.36, allocations: 40.28 kB / 5.045 GB, free: 20.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/17.36, allocations: 3.422 kB / 5.045 GB, free: 20.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02506/17.38, allocations: 6.748 MB / 5.052 GB, free: 19.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0486/17.43, allocations: 13.32 MB / 5.065 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.907e-05/17.43, allocations: 2.594 kB / 5.065 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006846/17.44, allocations: 0.7117 MB / 5.066 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02124/17.46, allocations: 3.113 MB / 5.069 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001411/17.46, allocations: 181.4 kB / 5.069 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/17.47, allocations: 6.324 MB / 5.075 GB, free: 16.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/17.47, allocations: 1.781 kB / 5.075 GB, free: 16.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03646/17.51, allocations: 10.93 MB / 5.086 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004195/17.51, allocations: 1.051 MB / 5.087 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001637/17.52, allocations: 129.5 kB / 5.087 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007024/17.52, allocations: 427.2 kB / 5.087 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/17.52, allocations: 262.8 kB / 5.088 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007478/17.53, allocations: 186.3 kB / 5.088 GB, free: 14.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003166/17.53, allocations: 1.401 MB / 5.089 GB, free: 14.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.82e-07/17.53, allocations: 0 / 5.089 GB, free: 14.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01609/17.54, allocations: 3.256 MB / 5.092 GB, free: 13.87 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 21 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1],ductOut.mCs_scaled[1,1],ductOut.mCs_scaled[2,1],ductOut.mediums[1].p,ductOut.mediums[1].Xi[1],ductOut.mediums[1].T,ductOut.mediums[2].p,ductOut.mediums[2].Xi[1],ductOut.mediums[2].T,PID.I.y,ductIn.mCs_scaled[1,1],ductIn.mCs_scaled[2,1],ductIn.mediums[1].p,ductIn.mediums[1].Xi[1],ductIn.mediums[1].T,ductIn.mediums[2].p,ductIn.mediums[2].Xi[1],ductIn.mediums[2].T) * Number of discrete variables: 3 ($whenCondition1,NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 2 (NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (373): * Single equations (assignments): 361 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 7,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04889/17.59, allocations: 15.05 MB / 5.107 GB, free: 8.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03902/17.63, allocations: 11.42 MB / 5.118 GB, free: 3.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/17.63, allocations: 4.938 kB / 5.118 GB, free: 3.496 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01244/17.65, allocations: 3.456 MB / 5.122 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01266/17.66, allocations: 1.369 MB / 5.123 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4527/18.11, allocations: 33.69 MB / 5.156 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004415/18.11, allocations: 2.453 MB / 5.158 GB, free: 66.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006038/18.12, allocations: 1.508 MB / 5.16 GB, free: 66.02 MB / 0.4948 GB Notification: Performance of SimCode: time 1.412e-06/18.12, allocations: 0 / 5.16 GB, free: 66.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.729/23.85, allocations: 168.1 MB / 5.324 GB, free: 3.871 MB / 0.4948 GB