Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.192/4.192, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.329e-05, allocations: 5.781 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2183, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.4925, allocations: 125.7 MB / 0.7517 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.4929, allocations: 79.95 kB / 0.7518 GB, free: 11.15 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01421/0.5071, allocations: 2.915 MB / 0.7546 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5072, allocations: 4 kB / 0.7546 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.5072, allocations: 0 / 0.7546 GB, free: 8.227 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007491/0.508, allocations: 412 kB / 0.755 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.508, allocations: 8.031 kB / 0.755 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.5081, allocations: 7.953 kB / 0.755 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.5083, allocations: 178.9 kB / 0.7552 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.5083, allocations: 0 / 0.7552 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.5084, allocations: 4 kB / 0.7552 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001166/0.5085, allocations: 27.94 kB / 0.7552 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.5087, allocations: 57.67 kB / 0.7553 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.5087, allocations: 0 / 0.7553 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.5087, allocations: 0 / 0.7553 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.5087, allocations: 7.938 kB / 0.7553 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.5096, allocations: 297.3 kB / 0.7556 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.5097, allocations: 38.56 kB / 0.7556 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.5098, allocations: 29.53 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.5099, allocations: 3.938 kB / 0.7556 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.51, allocations: 67.39 kB / 0.7557 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.5101, allocations: 4 kB / 0.7557 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003725/0.5104, allocations: 97.53 kB / 0.7558 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.5105, allocations: 55.41 kB / 0.7558 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.5106, allocations: 105 kB / 0.7559 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.5107, allocations: 29.7 kB / 0.756 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.5108, allocations: 92.23 kB / 0.7561 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.5108, allocations: 3.906 kB / 0.7561 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.5108, allocations: 0 / 0.7561 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.511, allocations: 322.8 kB / 0.7564 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.5111, allocations: 20 kB / 0.7564 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.5112, allocations: 42.5 kB / 0.7564 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.5113, allocations: 24.06 kB / 0.7565 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5113, allocations: 0 / 0.7565 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002887/0.5116, allocations: 89.52 kB / 0.7565 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5116, allocations: 8 kB / 0.7565 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5116, allocations: 4.062 kB / 0.7566 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5117, allocations: 0 / 0.7566 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.5119, allocations: 15.98 kB / 0.7566 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5119, allocations: 3.953 kB / 0.7566 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.512, allocations: 11.84 kB / 0.7566 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.512, allocations: 7.984 kB / 0.7566 GB, free: 5.973 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001222/0.5122, allocations: 109 kB / 0.7567 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002702/0.5124, allocations: 101.8 kB / 0.7568 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.5125, allocations: 7.844 kB / 0.7568 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.5125, allocations: 8.625 kB / 0.7568 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5125, allocations: 3.953 kB / 0.7568 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5126, allocations: 0 / 0.7568 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5126, allocations: 0 / 0.7568 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.5131, allocations: 343 kB / 0.7571 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5131, allocations: 4 kB / 0.7571 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.5132, allocations: 4 kB / 0.7571 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5133, allocations: 4 kB / 0.7571 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.5133, allocations: 7.938 kB / 0.7572 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5133, allocations: 0 / 0.7572 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5133, allocations: 0 / 0.7572 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.5136, allocations: 191.4 kB / 0.7573 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.5137, allocations: 85.02 kB / 0.7574 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.5137, allocations: 0 / 0.7574 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.5139, allocations: 17.62 kB / 0.7574 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.514, allocations: 7.938 kB / 0.7574 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.514, allocations: 3.984 kB / 0.7574 GB, free: 5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.977e-05/0.5141, allocations: 87.94 kB / 0.7575 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5141, allocations: 0 / 0.7575 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004759/0.5146, allocations: 55.92 kB / 0.7576 GB, free: 4.859 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001319/0.5159, allocations: 0.7913 MB / 0.7584 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.5163, allocations: 55.92 kB / 0.7584 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5164, allocations: 0 / 0.7584 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.5165, allocations: 24 kB / 0.7584 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.5169, allocations: 16.06 kB / 0.7584 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009878/0.5179, allocations: 142.1 kB / 0.7586 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.5183, allocations: 0.6962 MB / 0.7593 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.015e-05/0.5184, allocations: 4.734 kB / 0.7593 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.5185, allocations: 23.42 kB / 0.7593 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/0.5186, allocations: 0 / 0.7593 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/0.5592, allocations: 2.191 MB / 0.7614 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/0.5595, allocations: 199.5 kB / 0.7616 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.145, allocations: 0 / 0.7616 GB, free: 0.6523 MB / 0.6355 GB