Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 184.4 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 0.7819 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.000893, allocations: 104 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6351/0.636, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.9567, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7657/1.722, allocations: 150.2 MB / 1.352 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.723, allocations: 79.08 kB / 1.352 GB, free: 15.86 MB / 0.8073 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.01912/1.742, allocations: 5.375 MB / 1.357 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/1.742, allocations: 9.969 kB / 1.357 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/1.742, allocations: 8.75 kB / 1.357 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/1.742, allocations: 162 kB / 1.357 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/1.742, allocations: 4.906 kB / 1.357 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/1.742, allocations: 1.875 kB / 1.357 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.777e-05/1.742, allocations: 14.11 kB / 1.357 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.418e-05/1.742, allocations: 38.58 kB / 1.358 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.742, allocations: 4 kB / 1.358 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.742, allocations: 0 / 1.358 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.742, allocations: 5.031 kB / 1.358 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/1.743, allocations: 229.2 kB / 1.358 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/1.743, allocations: 42.48 kB / 1.358 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/1.743, allocations: 17.33 kB / 1.358 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/1.743, allocations: 5.25 kB / 1.358 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/1.743, allocations: 38.78 kB / 1.358 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/1.743, allocations: 0 / 1.358 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001868/1.743, allocations: 44.41 kB / 1.358 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/1.743, allocations: 52.91 kB / 1.358 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.727e-05/1.743, allocations: 97.61 kB / 1.358 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/1.743, allocations: 25.7 kB / 1.358 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/1.743, allocations: 90.62 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/1.743, allocations: 14.06 kB / 1.358 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/1.743, allocations: 0 / 1.358 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.992e-05/1.744, allocations: 316.8 kB / 1.358 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/1.744, allocations: 8.156 kB / 1.358 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/1.744, allocations: 16.48 kB / 1.358 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/1.744, allocations: 9.469 kB / 1.358 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.744, allocations: 0.5625 kB / 1.358 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.621e-05/1.744, allocations: 53.55 kB / 1.359 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.744, allocations: 8.938 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.744, allocations: 0.6562 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/1.744, allocations: 1.25 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/1.744, allocations: 12.3 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.744, allocations: 0.75 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/1.744, allocations: 5.656 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/1.744, allocations: 1.812 kB / 1.359 GB, free: 13.93 MB / 0.8073 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 4.832e-05/1.744, allocations: 102 kB / 1.359 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/1.744, allocations: 7.375 kB / 1.359 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/1.744, allocations: 69.39 kB / 1.359 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.744, allocations: 8.719 kB / 1.359 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.744, allocations: 0.75 kB / 1.359 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.744, allocations: 0 / 1.359 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/1.744, allocations: 133.5 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.744, allocations: 0.75 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/1.744, allocations: 7.25 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.744, allocations: 4 kB / 1.359 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/1.744, allocations: 4.906 kB / 1.359 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.744, allocations: 1.312 kB / 1.359 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.744, allocations: 0.75 kB / 1.359 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001001/1.744, allocations: 138.7 kB / 1.359 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001421/1.745, allocations: 0.5204 MB / 1.36 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/1.745, allocations: 87.27 kB / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/1.745, allocations: 0.9688 kB / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/1.745, allocations: 0 / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/1.745, allocations: 3.312 kB / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/1.745, allocations: 1.094 kB / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.19e-05/1.745, allocations: 82.56 kB / 1.36 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008844/1.746, allocations: 20.77 kB / 1.36 GB, free: 12.78 MB / 0.8073 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.0002242/1.746, allocations: 129.5 kB / 1.36 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.267e-05/1.746, allocations: 23.25 kB / 1.36 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.746, allocations: 0 / 1.36 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/1.746, allocations: 13.94 kB / 1.36 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/1.746, allocations: 4.844 kB / 1.36 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/1.746, allocations: 58.5 kB / 1.36 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/1.747, allocations: 0.6896 MB / 1.361 GB, free: 27.91 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.747, allocations: 0 / 1.361 GB, free: 27.91 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat does not exist to compare? outputFormat=mat