Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 289.8 MB / 297.1 MB, free: 6.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 181.3 kB / 366.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.1 MB / 0.6256 GB, free: 5.871 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 92.91 kB / 0.7396 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3049/0.3059, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6735/0.9794, allocations: 116.3 MB / 0.9726 GB, free: 68.02 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/1.164, allocations: 139.8 MB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.164, allocations: 84.38 kB / 1.109 GB, free: 8.59 MB / 0.7136 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.01737/1.182, allocations: 5.309 MB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.182, allocations: 12 kB / 1.114 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/1.182, allocations: 7.906 kB / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.182, allocations: 167 kB / 1.115 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/1.182, allocations: 4 kB / 1.115 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/1.182, allocations: 4 kB / 1.115 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.924e-05/1.182, allocations: 12 kB / 1.115 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.613e-05/1.182, allocations: 33.69 kB / 1.115 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/1.182, allocations: 0 / 1.115 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/1.182, allocations: 0 / 1.115 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/1.182, allocations: 7.906 kB / 1.115 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/1.183, allocations: 226.2 kB / 1.115 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/1.183, allocations: 50.62 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/1.183, allocations: 12.86 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/1.183, allocations: 0 / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.183, allocations: 38.47 kB / 1.115 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/1.183, allocations: 4 kB / 1.115 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001701/1.183, allocations: 45.78 kB / 1.115 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/1.183, allocations: 60.38 kB / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/1.183, allocations: 92.97 kB / 1.115 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/1.183, allocations: 25.7 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/1.183, allocations: 88.05 kB / 1.115 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/1.183, allocations: 11.89 kB / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/1.183, allocations: 0 / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.183, allocations: 318.8 kB / 1.116 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/1.184, allocations: 8 kB / 1.116 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/1.184, allocations: 21.66 kB / 1.116 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/1.184, allocations: 11.98 kB / 1.116 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.184, allocations: 0 / 1.116 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.987e-05/1.184, allocations: 50.44 kB / 1.116 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.184, allocations: 4 kB / 1.116 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.184, allocations: 4 kB / 1.116 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.184, allocations: 4.031 kB / 1.116 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/1.184, allocations: 11.94 kB / 1.116 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.184, allocations: 0 / 1.116 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/1.184, allocations: 3.906 kB / 1.116 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/1.184, allocations: 4 kB / 1.116 GB, free: 1.781 MB / 0.7136 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 8.226e-05/1.184, allocations: 101.6 kB / 1.116 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/1.184, allocations: 0 / 1.116 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/1.184, allocations: 69.83 kB / 1.116 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.184, allocations: 1.219 kB / 1.116 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.184, allocations: 0 / 1.116 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.184, allocations: 0 / 1.116 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/1.184, allocations: 134.2 kB / 1.116 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.184, allocations: 0 / 1.116 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/1.184, allocations: 7.938 kB / 1.116 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.184, allocations: 0 / 1.116 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/1.184, allocations: 3.906 kB / 1.116 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.184, allocations: 0 / 1.116 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.184, allocations: 4 kB / 1.116 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000124/1.185, allocations: 143.7 kB / 1.116 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003367/1.185, allocations: 0.5197 MB / 1.117 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/1.185, allocations: 88.95 kB / 1.117 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/1.185, allocations: 0.75 kB / 1.117 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/1.185, allocations: 11.88 kB / 1.117 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/1.185, allocations: 0 / 1.117 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/1.185, allocations: 0 / 1.117 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.506e-05/1.185, allocations: 79.28 kB / 1.117 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008524/1.186, allocations: 27.98 kB / 1.117 GB, free: 0.4922 MB / 0.7136 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.00022/1.186, allocations: 119.2 kB / 1.117 GB, free: 372 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.805e-05/1.186, allocations: 20.52 kB / 1.117 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.186, allocations: 1.688 kB / 1.117 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/1.186, allocations: 16 kB / 1.117 GB, free: 336 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/1.186, allocations: 12.41 kB / 1.117 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/1.187, allocations: 55.92 kB / 1.117 GB, free: 244 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/1.187, allocations: 0.6915 MB / 1.118 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/1.187, allocations: 0 / 1.118 GB, free: 15.52 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)