Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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 loadModel(Buildings): time 4.226/4.226, allocations: 433 MB / 440.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5681/4.794, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/5.101, allocations: 98.71 MB / 0.6283 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3301/5.431, allocations: 125.4 MB / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/5.431, allocations: 87.58 kB / 0.7508 GB, free: 12.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.03777/5.469, allocations: 5.289 MB / 0.756 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.723e-05/5.469, allocations: 12 kB / 0.756 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/5.469, allocations: 0 / 0.756 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/5.469, allocations: 167 kB / 0.7562 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/5.469, allocations: 0 / 0.7562 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/5.469, allocations: 4 kB / 0.7562 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/5.47, allocations: 12 kB / 0.7562 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/5.47, allocations: 41.69 kB / 0.7562 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/5.47, allocations: 4 kB / 0.7562 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/5.47, allocations: 3.938 kB / 0.7562 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/5.47, allocations: 0 / 0.7562 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/5.47, allocations: 229.4 kB / 0.7564 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/5.471, allocations: 38.73 kB / 0.7565 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/5.471, allocations: 20.84 kB / 0.7565 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/5.471, allocations: 7.984 kB / 0.7565 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/5.471, allocations: 34.56 kB / 0.7565 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.946e-06/5.471, allocations: 0 / 0.7565 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003316/5.471, allocations: 53.53 kB / 0.7566 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/5.471, allocations: 51.41 kB / 0.7566 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/5.472, allocations: 89 kB / 0.7567 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/5.472, allocations: 25.7 kB / 0.7567 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/5.472, allocations: 88.08 kB / 0.7568 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/5.472, allocations: 15.75 kB / 0.7568 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/5.472, allocations: 4 kB / 0.7569 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001491/5.472, allocations: 314.8 kB / 0.7572 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/5.472, allocations: 8 kB / 0.7572 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/5.472, allocations: 17.72 kB / 0.7572 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/5.472, allocations: 4 kB / 0.7572 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/5.472, allocations: 0 / 0.7572 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001986/5.472, allocations: 65.89 kB / 0.7572 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/5.472, allocations: 4 kB / 0.7572 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/5.472, allocations: 4 kB / 0.7572 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/5.472, allocations: 0 / 0.7572 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/5.473, allocations: 12.03 kB / 0.7573 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/5.473, allocations: 0 / 0.7573 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/5.473, allocations: 3.984 kB / 0.7573 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/5.473, allocations: 4 kB / 0.7573 GB, free: 5.281 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001131/5.473, allocations: 104.9 kB / 0.7574 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/5.473, allocations: 8.031 kB / 0.7574 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/5.473, allocations: 61.3 kB / 0.7574 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/5.473, allocations: 0 / 0.7574 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/5.473, allocations: 4 kB / 0.7574 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/5.473, allocations: 0 / 0.7574 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/5.474, allocations: 138.1 kB / 0.7576 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/5.474, allocations: 0 / 0.7576 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/5.474, allocations: 7.938 kB / 0.7576 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/5.474, allocations: 8 kB / 0.7576 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/5.474, allocations: 0 / 0.7576 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/5.474, allocations: 0 / 0.7576 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/5.474, allocations: 0 / 0.7576 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002155/5.474, allocations: 147.5 kB / 0.7577 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003886/5.474, allocations: 0.5193 MB / 0.7582 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/5.475, allocations: 81.05 kB / 0.7583 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/5.475, allocations: 3.984 kB / 0.7583 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/5.475, allocations: 3.938 kB / 0.7583 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/5.475, allocations: 0 / 0.7583 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/5.475, allocations: 7.906 kB / 0.7583 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.23e-05/5.475, allocations: 79.28 kB / 0.7584 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002008/5.477, allocations: 24 kB / 0.7584 GB, free: 3.992 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 (4): * Single equations (assignments): 4 * 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.0005021/5.477, allocations: 131.2 kB / 0.7585 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001758/5.478, allocations: 19.94 kB / 0.7586 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/5.478, allocations: 0 / 0.7586 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/5.478, allocations: 12 kB / 0.7586 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/5.478, allocations: 4 kB / 0.7586 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/5.478, allocations: 59.92 kB / 0.7586 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/5.479, allocations: 0.6876 MB / 0.7593 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/5.479, allocations: 0 / 0.7593 GB, free: 3.023 MB / 0.6355 GB