Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.688/2.688, allocations: 284.8 MB / 292.1 MB, free: 9.812 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.001808/0.001808, allocations: 190.8 kB / 360.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.1 MB / 0.6187 GB, free: 3.246 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001292/0.001291, allocations: 89.2 kB / 0.7317 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5665/0.5679, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.7866, allocations: 115.3 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6716/1.458, allocations: 138.7 MB / 1.098 GB, free: 45.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/1.459, allocations: 80.44 kB / 1.098 GB, free: 45.33 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.02591/1.485, allocations: 5.294 MB / 1.103 GB, free: 44.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.485, allocations: 14.03 kB / 1.103 GB, free: 44.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/1.485, allocations: 7.094 kB / 1.103 GB, free: 44.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.046e-05/1.485, allocations: 163.1 kB / 1.104 GB, free: 44.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.485, allocations: 0 / 1.104 GB, free: 44.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/1.485, allocations: 3.156 kB / 1.104 GB, free: 44.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.733e-05/1.485, allocations: 11.95 kB / 1.104 GB, free: 44.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.511e-05/1.485, allocations: 40.69 kB / 1.104 GB, free: 44.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.485, allocations: 3.188 kB / 1.104 GB, free: 44.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/1.485, allocations: 4 kB / 1.104 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.485, allocations: 0 / 1.104 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/1.485, allocations: 234.8 kB / 1.104 GB, free: 44.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/1.486, allocations: 41.36 kB / 1.104 GB, free: 44.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/1.486, allocations: 20.77 kB / 1.104 GB, free: 44.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/1.486, allocations: 3.75 kB / 1.104 GB, free: 44.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/1.486, allocations: 30.56 kB / 1.104 GB, free: 44.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/1.486, allocations: 0 / 1.104 GB, free: 44.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000177/1.486, allocations: 53.61 kB / 1.104 GB, free: 44.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/1.486, allocations: 51.41 kB / 1.104 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/1.486, allocations: 95.41 kB / 1.104 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/1.486, allocations: 33.58 kB / 1.104 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/1.486, allocations: 83.89 kB / 1.104 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/1.486, allocations: 9.875 kB / 1.104 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/1.486, allocations: 0 / 1.104 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/1.486, allocations: 316.8 kB / 1.105 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/1.486, allocations: 7.688 kB / 1.105 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/1.486, allocations: 22.22 kB / 1.105 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/1.486, allocations: 3.75 kB / 1.105 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.486, allocations: 7.844 kB / 1.105 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001117/1.487, allocations: 56.8 kB / 1.105 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.487, allocations: 3.75 kB / 1.105 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.487, allocations: 3.797 kB / 1.105 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.487, allocations: 0 / 1.105 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/1.487, allocations: 11.06 kB / 1.105 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/1.487, allocations: 3.188 kB / 1.105 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/1.487, allocations: 3.906 kB / 1.105 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/1.487, allocations: 0 / 1.105 GB, free: 43.41 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 5.381e-05/1.487, allocations: 106.6 kB / 1.105 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/1.487, allocations: 0 / 1.105 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/1.487, allocations: 65.55 kB / 1.105 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.487, allocations: 4 kB / 1.105 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.487, allocations: 0 / 1.105 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.487, allocations: 336 / 1.105 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/1.487, allocations: 140.1 kB / 1.105 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.487, allocations: 0 / 1.105 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/1.487, allocations: 6.375 kB / 1.105 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.487, allocations: 0 / 1.105 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.487, allocations: 3.984 kB / 1.105 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.487, allocations: 3.906 kB / 1.105 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.487, allocations: 0 / 1.105 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001249/1.488, allocations: 144.7 kB / 1.105 GB, free: 42.96 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001753/1.488, allocations: 0.5207 MB / 1.106 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/1.488, allocations: 84.95 kB / 1.106 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/1.488, allocations: 3.281 kB / 1.106 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/1.488, allocations: 0 / 1.106 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/1.488, allocations: 4 kB / 1.106 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/1.488, allocations: 11.22 kB / 1.106 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.737e-05/1.488, allocations: 79.12 kB / 1.106 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001223/1.489, allocations: 26.31 kB / 1.106 GB, free: 42.26 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.000304/1.49, allocations: 121.8 kB / 1.106 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001412/1.49, allocations: 29.06 kB / 1.106 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.49, allocations: 0 / 1.106 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.887e-05/1.49, allocations: 10.78 kB / 1.106 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/1.49, allocations: 5.188 kB / 1.106 GB, free: 42.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/1.49, allocations: 64.88 kB / 1.106 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/1.49, allocations: 0.689 MB / 1.107 GB, free: 41.39 MB / 0.7136 GB Notification: Performance of SimCode: time 1.303e-06/1.49, allocations: 0 / 1.107 GB, free: 41.39 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)