Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.438/4.438, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5036/4.942, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/5.162, allocations: 98.71 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/5.412, allocations: 135.7 MB / 0.7608 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/5.412, allocations: 87.59 kB / 0.7609 GB, free: 1.859 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.05974/5.472, allocations: 11.25 MB / 0.7718 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/5.472, allocations: 8 kB / 0.7719 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006535/5.473, allocations: 55.58 kB / 0.7719 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/5.475, allocations: 0.6195 MB / 0.7725 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/5.475, allocations: 11.92 kB / 0.7725 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/5.475, allocations: 4 kB / 0.7725 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004449/5.476, allocations: 119.9 kB / 0.7726 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/5.476, allocations: 129.5 kB / 0.7728 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/5.476, allocations: 7.922 kB / 0.7728 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/5.476, allocations: 0 / 0.7728 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/5.476, allocations: 0 / 0.7728 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/5.478, allocations: 473 kB / 0.7732 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/5.478, allocations: 142.5 kB / 0.7734 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/5.478, allocations: 64.83 kB / 0.7734 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/5.478, allocations: 8 kB / 0.7734 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/5.478, allocations: 30.56 kB / 0.7735 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/5.478, allocations: 0 / 0.7735 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0007794/5.479, allocations: 189.5 kB / 0.7736 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/5.479, allocations: 51.41 kB / 0.7737 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/5.48, allocations: 267.5 kB / 0.7739 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/5.48, allocations: 25.7 kB / 0.774 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/5.48, allocations: 116.4 kB / 0.7741 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/5.48, allocations: 35.55 kB / 0.7741 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/5.48, allocations: 0 / 0.7741 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001832/5.48, allocations: 334.8 kB / 0.7744 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/5.48, allocations: 71.91 kB / 0.7745 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/5.48, allocations: 139.3 kB / 0.7746 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/5.481, allocations: 87.89 kB / 0.7747 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/5.481, allocations: 0 / 0.7747 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001191/5.482, allocations: 265 kB / 0.775 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003256/5.483, allocations: 0.6954 MB / 0.7756 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/5.483, allocations: 4 kB / 0.7757 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/5.483, allocations: 8 kB / 0.7757 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/5.483, allocations: 47.95 kB / 0.7757 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/5.483, allocations: 3.938 kB / 0.7757 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/5.484, allocations: 27.73 kB / 0.7757 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/5.484, allocations: 20 kB / 0.7758 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/5.484, allocations: 6.969 kB / 0.7758 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007668/5.484, allocations: 163.7 kB / 0.7759 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/5.484, allocations: 0 / 0.7759 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/5.485, allocations: 7.984 kB / 0.7759 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/5.485, allocations: 52.12 kB / 0.776 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/5.485, allocations: 0 / 0.776 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/5.485, allocations: 19.89 kB / 0.776 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/5.485, allocations: 12 kB / 0.776 GB, free: 2.047 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * 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.0001444/5.485, allocations: 116.8 kB / 0.7761 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/5.486, allocations: 31.62 kB / 0.7761 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007169/5.486, allocations: 160.3 kB / 0.7763 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/5.486, allocations: 4 kB / 0.7763 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/5.486, allocations: 0 / 0.7763 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/5.486, allocations: 0 / 0.7763 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/5.487, allocations: 249.9 kB / 0.7765 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/5.487, allocations: 3.938 kB / 0.7765 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/5.487, allocations: 23.98 kB / 0.7766 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/5.487, allocations: 0 / 0.7766 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/5.487, allocations: 7.984 kB / 0.7766 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/5.487, allocations: 4 kB / 0.7766 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/5.487, allocations: 0 / 0.7766 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004452/5.488, allocations: 231.2 kB / 0.7768 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006214/5.488, allocations: 0.6167 MB / 0.7774 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/5.488, allocations: 104.8 kB / 0.7775 GB, free: 416 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/5.488, allocations: 4 kB / 0.7775 GB, free: 412 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/5.489, allocations: 11.98 kB / 0.7775 GB, free: 400 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/5.489, allocations: 7.984 kB / 0.7775 GB, free: 392 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/5.489, allocations: 7.938 kB / 0.7775 GB, free: 384 kB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003464/5.489, allocations: 215 kB / 0.7777 GB, free: 168 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.2951/5.784, allocations: 220.4 kB / 0.7779 GB, free: 220.7 MB / 0.6511 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 (9): * Single equations (assignments): 9 * 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.001253/5.786, allocations: 376.2 kB / 0.7783 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007504/5.786, allocations: 254 kB / 0.7785 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/5.786, allocations: 0 / 0.7785 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/5.787, allocations: 47.44 kB / 0.7786 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/5.787, allocations: 88.19 kB / 0.7787 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/5.788, allocations: 308.2 kB / 0.779 GB, free: 220.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/5.789, allocations: 0.8223 MB / 0.7798 GB, free: 219.8 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/5.789, allocations: 0 / 0.7798 GB, free: 219.8 MB / 0.6511 GB