Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.228/4.228, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.211e-05, allocations: 8 kB / 0.5325 GB, free: 1.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.7281, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2513/0.9794, allocations: 123 MB / 0.749 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.9797, allocations: 71.95 kB / 0.7491 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006053/0.9803, allocations: 364.8 kB / 0.7495 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9804, allocations: 0 / 0.7495 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.9804, allocations: 0 / 0.7495 GB, free: 4.133 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002857/0.9807, allocations: 310.6 kB / 0.7497 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.9807, allocations: 8.031 kB / 0.7498 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.9808, allocations: 4 kB / 0.7498 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.9809, allocations: 167 kB / 0.7499 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.981, allocations: 0 / 0.7499 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.981, allocations: 0 / 0.7499 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.35e-05/0.981, allocations: 0 / 0.7499 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.438e-05/0.9811, allocations: 33.64 kB / 0.75 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9811, allocations: 0 / 0.75 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.9811, allocations: 3.984 kB / 0.75 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.9812, allocations: 7.938 kB / 0.75 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.9815, allocations: 368 kB / 0.7503 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.9816, allocations: 165.1 kB / 0.7505 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.9817, allocations: 80.14 kB / 0.7505 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.9817, allocations: 83.28 kB / 0.7506 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.9818, allocations: 109.8 kB / 0.7507 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.9818, allocations: 0 / 0.7507 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.407e-05/0.9819, allocations: 29.73 kB / 0.7508 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.9819, allocations: 51.41 kB / 0.7508 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.982, allocations: 85 kB / 0.7509 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.982, allocations: 29.69 kB / 0.7509 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.9821, allocations: 84.27 kB / 0.751 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.9821, allocations: 3.938 kB / 0.751 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-07/0.9821, allocations: 0 / 0.751 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.9823, allocations: 318.8 kB / 0.7513 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.9823, allocations: 0 / 0.7513 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-06/0.9823, allocations: 0 / 0.7513 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.9823, allocations: 75.28 kB / 0.7514 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.57e-05/0.9824, allocations: 79.28 kB / 0.7515 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.534e-05/0.9824, allocations: 35.91 kB / 0.7515 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.9825, allocations: 83.28 kB / 0.7516 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/0.9825, allocations: 75.28 kB / 0.7516 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.772e-05/0.9826, allocations: 150.6 kB / 0.7518 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.9827, allocations: 86.23 kB / 0.7519 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.948e-05/0.9828, allocations: 158.5 kB / 0.752 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.9829, allocations: 75.28 kB / 0.7521 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.9829, allocations: 83.22 kB / 0.7522 GB, free: 1.145 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001335/0.983, allocations: 255.5 kB / 0.7524 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.012e-05/0.9831, allocations: 130.7 kB / 0.7525 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.9832, allocations: 113.2 kB / 0.7526 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.284e-05/0.9833, allocations: 112.5 kB / 0.7528 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.783e-05/0.9834, allocations: 184.3 kB / 0.7529 GB, free: 336 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.879e-05/0.9835, allocations: 180.2 kB / 0.7531 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001115/0.9836, allocations: 180.2 kB / 0.7533 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.9839, allocations: 381.8 kB / 0.7536 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.384e-05/0.984, allocations: 104.9 kB / 0.7537 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.984, allocations: 112.9 kB / 0.7538 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-05/0.9841, allocations: 180.3 kB / 0.754 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.797e-05/0.9842, allocations: 188.2 kB / 0.7542 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.661e-05/0.9843, allocations: 176.3 kB / 0.7544 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.606e-05/0.9844, allocations: 176.3 kB / 0.7545 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.9846, allocations: 315.7 kB / 0.7548 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.624e-05/0.9847, allocations: 178.1 kB / 0.755 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.9848, allocations: 180.2 kB / 0.7552 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.9849, allocations: 105 kB / 0.7553 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.985, allocations: 176.3 kB / 0.7554 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.9851, allocations: 113.4 kB / 0.7555 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.9851, allocations: 79.28 kB / 0.7556 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9851, allocations: 0 / 0.7556 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000314/0.9855, allocations: 5.547 kB / 0.7556 GB, free: 13.38 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005202/0.986, allocations: 0.8049 MB / 0.7564 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.167e-05/0.986, allocations: 3.938 kB / 0.7564 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9861, allocations: 0 / 0.7564 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.9861, allocations: 4 kB / 0.7564 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.9865, allocations: 0.5263 MB / 0.7569 GB, free: 12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.9869, allocations: 149.1 kB / 0.7571 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.9872, allocations: 0.6729 MB / 0.7577 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.306e-06/0.9872, allocations: 4 kB / 0.7577 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.9873, allocations: 7.438 kB / 0.7577 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.9873, allocations: 0 / 0.7577 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/1.022, allocations: 416.7 kB / 0.7581 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/1.022, allocations: 161.2 kB / 0.7583 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/3.238, allocations: 0 / 0.7583 GB, free: 10.52 MB / 0.6355 GB