Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_7_0_x_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.254/1.254, allocations: 249.4 MB / 256.7 MB, free: 7.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009264/0.0009265, allocations: 177.3 kB / 316 MB, free: 7.887 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.1 MB / 0.5667 GB, free: 3.32 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000825/0.0008249, allocations: 89.39 kB / 0.671 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.3925/0.3934, allocations: 112.5 MB / 0.7808 GB, free: 106.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.5771, allocations: 106.3 MB / 0.8847 GB, free: 240 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5269/1.104, allocations: 143.9 MB / 1.025 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/1.104, allocations: 88.38 kB / 1.025 GB, free: 0.7891 MB / 0.6387 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.03369/1.138, allocations: 11.3 MB / 1.036 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.138, allocations: 11.98 kB / 1.036 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/1.139, allocations: 54.53 kB / 1.036 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.14, allocations: 0.6285 MB / 1.037 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/1.14, allocations: 4 kB / 1.037 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/1.14, allocations: 8 kB / 1.037 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002078/1.14, allocations: 116.6 kB / 1.037 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/1.14, allocations: 125.8 kB / 1.037 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/1.14, allocations: 0 / 1.037 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.14, allocations: 3.906 kB / 1.037 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/1.14, allocations: 4 kB / 1.037 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007271/1.141, allocations: 466.1 kB / 1.038 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/1.141, allocations: 143.7 kB / 1.038 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/1.141, allocations: 62.89 kB / 1.038 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/1.141, allocations: 4 kB / 1.038 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/1.141, allocations: 38.5 kB / 1.038 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/1.141, allocations: 3.938 kB / 1.038 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004835/1.142, allocations: 188.4 kB / 1.038 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.142, allocations: 51.41 kB / 1.038 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/1.142, allocations: 265.1 kB / 1.038 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/1.142, allocations: 29.64 kB / 1.038 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/1.142, allocations: 119.9 kB / 1.039 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/1.142, allocations: 31.3 kB / 1.039 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/1.142, allocations: 0 / 1.039 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.142, allocations: 337.2 kB / 1.039 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/1.143, allocations: 72.92 kB / 1.039 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/1.143, allocations: 137.7 kB / 1.039 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/1.143, allocations: 89.78 kB / 1.039 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.143, allocations: 0 / 1.039 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004995/1.144, allocations: 260.6 kB / 1.039 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002762/1.144, allocations: 0.6934 MB / 1.04 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.144, allocations: 4 kB / 1.04 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.144, allocations: 7.938 kB / 1.04 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/1.144, allocations: 55.89 kB / 1.04 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.144, allocations: 0 / 1.04 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/1.144, allocations: 23.83 kB / 1.04 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/1.144, allocations: 19.94 kB / 1.04 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-06/1.144, allocations: 4 kB / 1.04 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003386/1.145, allocations: 170.2 kB / 1.04 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-06/1.145, allocations: 0 / 1.04 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/1.145, allocations: 4 kB / 1.04 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/1.145, allocations: 44.19 kB / 1.04 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/1.145, allocations: 7.938 kB / 1.04 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/1.145, allocations: 23.83 kB / 1.04 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/1.145, allocations: 15.19 kB / 1.04 GB, free: 3.406 MB / 0.6544 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 9.471e-05/1.145, allocations: 105 kB / 1.041 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/1.145, allocations: 23.72 kB / 1.041 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/1.146, allocations: 178.1 kB / 1.041 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.146, allocations: 4 kB / 1.041 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.146, allocations: 0 / 1.041 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.146, allocations: 0 / 1.041 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/1.146, allocations: 250.7 kB / 1.041 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.146, allocations: 0 / 1.041 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/1.146, allocations: 23.98 kB / 1.041 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.146, allocations: 3.938 kB / 1.041 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/1.146, allocations: 11.98 kB / 1.041 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.146, allocations: 4 kB / 1.041 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.146, allocations: 0 / 1.041 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002611/1.147, allocations: 226.7 kB / 1.041 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003763/1.147, allocations: 0.6135 MB / 1.042 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/1.147, allocations: 114.6 kB / 1.042 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/1.147, allocations: 0 / 1.042 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/1.147, allocations: 11.98 kB / 1.042 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/1.147, allocations: 7.984 kB / 1.042 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/1.147, allocations: 7.375 kB / 1.042 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of sort global known variables: time 0.000182/1.147, allocations: 206.6 kB / 1.042 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001847/1.149, allocations: 219.5 kB / 1.042 GB, free: 1.539 MB / 0.6544 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.0006247/1.15, allocations: 403.6 kB / 1.043 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004599/1.15, allocations: 250.8 kB / 1.043 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.15, allocations: 0.875 kB / 1.043 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/1.151, allocations: 45.23 kB / 1.043 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/1.151, allocations: 85.98 kB / 1.043 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/1.152, allocations: 319.6 kB / 1.043 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/1.152, allocations: 0.8112 MB / 1.044 GB, free: 15.73 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/1.152, allocations: 0 / 1.044 GB, free: 15.73 MB / 0.67 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)