Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.069/2.069, allocations: 387.2 MB / 394.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 189.4 kB / 487 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.3 MB / 0.7819 GB, free: 6.723 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009127/0.0009129, allocations: 99.92 kB / 0.9213 GB, free: 43.61 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3098/0.3108, allocations: 148.5 MB / 1.066 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8869/1.198, allocations: 142.3 MB / 1.205 GB, free: 1.996 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/1.408, allocations: 149 MB / 1.351 GB, free: 0.7969 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.408, allocations: 75.95 kB / 1.351 GB, free: 0.7227 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01083/1.419, allocations: 3.464 MB / 1.354 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.419, allocations: 16.44 kB / 1.354 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/1.419, allocations: 3.906 kB / 1.354 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/1.419, allocations: 163.1 kB / 1.354 GB, free: 13 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.419, allocations: 0 / 1.354 GB, free: 13 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/1.42, allocations: 0 / 1.354 GB, free: 13 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.906e-05/1.42, allocations: 4 kB / 1.354 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.346e-05/1.42, allocations: 29.69 kB / 1.354 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.42, allocations: 4 kB / 1.354 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/1.42, allocations: 0 / 1.354 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/1.42, allocations: 0 / 1.354 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/1.42, allocations: 134.2 kB / 1.355 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/1.42, allocations: 34.48 kB / 1.355 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/1.42, allocations: 8.844 kB / 1.355 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/1.42, allocations: 3.984 kB / 1.355 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/1.42, allocations: 38.62 kB / 1.355 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.42, allocations: 3.938 kB / 1.355 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2): time 0.0001391/1.42, allocations: 33.7 kB / 1.355 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.42, allocations: 51.41 kB / 1.355 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/1.42, allocations: 89 kB / 1.355 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/1.42, allocations: 25.7 kB / 1.355 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/1.42, allocations: 80.14 kB / 1.355 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/1.42, allocations: 11.89 kB / 1.355 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/1.42, allocations: 0 / 1.355 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.421, allocations: 318.9 kB / 1.355 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/1.421, allocations: 4 kB / 1.355 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/1.421, allocations: 7.938 kB / 1.355 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.618e-05/1.421, allocations: 0 / 1.355 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.421, allocations: 0 / 1.355 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.328e-05/1.421, allocations: 37.7 kB / 1.355 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.421, allocations: 4 kB / 1.355 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.421, allocations: 11.97 kB / 1.355 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.421, allocations: 0 / 1.355 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/1.421, allocations: 8 kB / 1.355 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000324/1.421, allocations: 0.5899 MB / 1.356 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/1.421, allocations: 4.031 kB / 1.356 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.421, allocations: 4 kB / 1.356 GB, free: 11.34 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/1.421, allocations: 104.9 kB / 1.356 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/1.421, allocations: 3.906 kB / 1.356 GB, free: 11.22 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/1.421, allocations: 49.09 kB / 1.356 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.421, allocations: 0 / 1.356 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.421, allocations: 4 kB / 1.356 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.422, allocations: 0 / 1.356 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/1.422, allocations: 122.2 kB / 1.356 GB, free: 11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.422, allocations: 0 / 1.356 GB, free: 11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/1.422, allocations: 11.98 kB / 1.356 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.422, allocations: 3.906 kB / 1.356 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/1.422, allocations: 4 kB / 1.356 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003061/1.422, allocations: 0.586 MB / 1.357 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.422, allocations: 8.016 kB / 1.357 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.326e-05/1.422, allocations: 61.05 kB / 1.357 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001709/1.422, allocations: 445.6 kB / 1.357 GB, free: 9.832 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/1.422, allocations: 81.05 kB / 1.357 GB, free: 9.734 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/1.422, allocations: 4 kB / 1.357 GB, free: 9.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/1.422, allocations: 3.938 kB / 1.357 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/1.422, allocations: 3.938 kB / 1.357 GB, free: 9.723 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/1.422, allocations: 0 / 1.357 GB, free: 9.723 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.434e-05/1.422, allocations: 87.3 kB / 1.357 GB, free: 9.637 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00076/1.423, allocations: 23.84 kB / 1.357 GB, free: 9.613 MB / 0.9792 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/1.423, allocations: 107.2 kB / 1.358 GB, free: 9.496 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001721/1.424, allocations: 15.98 kB / 1.358 GB, free: 9.48 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.424, allocations: 0 / 1.358 GB, free: 9.48 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/1.424, allocations: 12 kB / 1.358 GB, free: 9.469 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/1.424, allocations: 8.219 kB / 1.358 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/1.424, allocations: 55.98 kB / 1.358 GB, free: 9.383 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/1.424, allocations: 0.6841 MB / 1.358 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of SimCode: time 4.71e-07/1.424, allocations: 0 / 1.358 GB, free: 8.672 MB / 0.9792 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat does not exist to compare? outputFormat=mat