Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 185.3 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008319/0.0008318, allocations: 82.27 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3525/0.3533, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.5204, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/1.02, allocations: 133.6 MB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.02, allocations: 86.23 kB / 1.015 GB, free: 5.18 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.01552/1.036, allocations: 5.312 MB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/1.036, allocations: 8 kB / 1.02 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/1.036, allocations: 4 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/1.036, allocations: 159.1 kB / 1.021 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/1.036, allocations: 3.906 kB / 1.021 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/1.036, allocations: 4 kB / 1.021 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.059e-05/1.036, allocations: 11.62 kB / 1.021 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.897e-05/1.036, allocations: 40.94 kB / 1.021 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/1.036, allocations: 4 kB / 1.021 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/1.036, allocations: 0 / 1.021 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.036, allocations: 3.938 kB / 1.021 GB, free: 468 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/1.037, allocations: 231.3 kB / 1.021 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/1.037, allocations: 42 kB / 1.021 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/1.037, allocations: 20.8 kB / 1.021 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/1.037, allocations: 0 / 1.021 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/1.037, allocations: 34.56 kB / 1.021 GB, free: 92 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/1.037, allocations: 4 kB / 1.021 GB, free: 88 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001368/1.037, allocations: 48.66 kB / 1.021 GB, free: 36 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/1.037, allocations: 55.31 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/1.037, allocations: 99.66 kB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/1.037, allocations: 25.7 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/1.037, allocations: 84.14 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/1.037, allocations: 15.3 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.037, allocations: 0 / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/1.037, allocations: 314.8 kB / 1.022 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/1.037, allocations: 6.625 kB / 1.022 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/1.037, allocations: 16.84 kB / 1.022 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/1.037, allocations: 7.984 kB / 1.022 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.037, allocations: 4 kB / 1.022 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001199/1.037, allocations: 56.78 kB / 1.022 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/1.037, allocations: 11.94 kB / 1.022 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/1.037, allocations: 0 / 1.022 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/1.037, allocations: 0 / 1.022 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/1.038, allocations: 8 kB / 1.022 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/1.038, allocations: 0 / 1.022 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/1.038, allocations: 3.562 kB / 1.022 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/1.038, allocations: 4 kB / 1.022 GB, free: 15.3 MB / 0.6511 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 6.361e-05/1.038, allocations: 105 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/1.038, allocations: 3.906 kB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/1.038, allocations: 65.58 kB / 1.022 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.038, allocations: 0 / 1.022 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.038, allocations: 0 / 1.022 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.038, allocations: 7.938 kB / 1.022 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/1.038, allocations: 138 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.038, allocations: 0 / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/1.038, allocations: 8 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.038, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/1.038, allocations: 4 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.038, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.038, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000108/1.038, allocations: 142.4 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001992/1.038, allocations: 0.5226 MB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/1.038, allocations: 85.05 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/1.038, allocations: 0 / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/1.038, allocations: 0 / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/1.039, allocations: 0 / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/1.039, allocations: 7.688 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.733e-05/1.039, allocations: 79.19 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007718/1.039, allocations: 23.98 kB / 1.023 GB, free: 14.05 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 (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.0001954/1.04, allocations: 127.7 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.717e-05/1.04, allocations: 26 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.04, allocations: 0 / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/1.04, allocations: 15.36 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/1.04, allocations: 0 / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/1.04, allocations: 67.34 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/1.04, allocations: 0.6876 MB / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/1.04, allocations: 8.062 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)