Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",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 1.853/1.853, allocations: 387.2 MB / 394.5 MB, free: 13.24 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.001104/0.001104, allocations: 172.1 kB / 487 MB, free: 0.6953 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.184/1.184, allocations: 221.3 MB / 0.7819 GB, free: 6.742 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.0009434/0.0009434, allocations: 97.47 kB / 0.9213 GB, free: 43.66 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2615/0.2625, allocations: 148.5 MB / 1.066 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.848, allocations: 142.3 MB / 1.205 GB, free: 72.72 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/1.015, allocations: 148.2 MB / 1.35 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.015, allocations: 71.95 kB / 1.35 GB, free: 14.97 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.006425/1.021, allocations: 2.115 MB / 1.352 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/1.021, allocations: 8 kB / 1.352 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/1.021, allocations: 3.984 kB / 1.352 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/1.021, allocations: 163.1 kB / 1.352 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/1.022, allocations: 0.9375 kB / 1.352 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/1.022, allocations: 5.031 kB / 1.352 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.995e-05/1.022, allocations: 4 kB / 1.352 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.785e-05/1.022, allocations: 38.16 kB / 1.352 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/1.022, allocations: 0 / 1.352 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/1.022, allocations: 1.156 kB / 1.352 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.022, allocations: 0 / 1.352 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/1.022, allocations: 130.9 kB / 1.352 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.721e-05/1.022, allocations: 15.52 kB / 1.352 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/1.022, allocations: 4.859 kB / 1.352 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005712/1.022, allocations: 451.8 kB / 1.353 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/1.022, allocations: 31.12 kB / 1.353 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.022, allocations: 0 / 1.353 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.000129/1.023, allocations: 37.55 kB / 1.353 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/1.023, allocations: 51.41 kB / 1.353 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.889e-05/1.023, allocations: 88.98 kB / 1.353 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/1.023, allocations: 25.7 kB / 1.353 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/1.023, allocations: 84.17 kB / 1.353 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/1.023, allocations: 0 / 1.353 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/1.023, allocations: 4 kB / 1.353 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/1.023, allocations: 310.8 kB / 1.354 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/1.023, allocations: 0 / 1.354 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-06/1.023, allocations: 0 / 1.354 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/1.023, allocations: 10.25 kB / 1.354 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/1.023, allocations: 0 / 1.354 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.299e-05/1.023, allocations: 37.67 kB / 1.354 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/1.023, allocations: 4 kB / 1.354 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/1.023, allocations: 0 / 1.354 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/1.023, allocations: 0 / 1.354 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/1.023, allocations: 11.92 kB / 1.354 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/1.023, allocations: 0.75 kB / 1.354 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/1.023, allocations: 0 / 1.354 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/1.023, allocations: 0 / 1.354 GB, free: 11.11 MB / 0.8542 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 (1): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/1.023, allocations: 101 kB / 1.354 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/1.023, allocations: 3.938 kB / 1.354 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/1.023, allocations: 37.64 kB / 1.354 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.023, allocations: 7.984 kB / 1.354 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.023, allocations: 0 / 1.354 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/1.023, allocations: 0 / 1.354 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.03e-05/1.023, allocations: 122.2 kB / 1.354 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.023, allocations: 0.75 kB / 1.354 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/1.023, allocations: 0 / 1.354 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.023, allocations: 4 kB / 1.354 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/1.023, allocations: 7.844 kB / 1.354 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/1.023, allocations: 4.031 kB / 1.354 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.023, allocations: 0.625 kB / 1.354 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.668e-05/1.023, allocations: 61.06 kB / 1.354 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001493/1.024, allocations: 445 kB / 1.354 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/1.024, allocations: 81.17 kB / 1.354 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/1.024, allocations: 0 / 1.354 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-06/1.024, allocations: 0.5 kB / 1.354 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/1.024, allocations: 0 / 1.354 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/1.024, allocations: 4 kB / 1.354 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.002e-05/1.024, allocations: 75.28 kB / 1.355 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000776/1.025, allocations: 47.83 kB / 1.355 GB, free: 10.03 MB / 0.8542 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 (1): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/1.025, allocations: 163.1 kB / 1.355 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.075e-05/1.025, allocations: 4 kB / 1.355 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.025, allocations: 0 / 1.355 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.57e-06/1.025, allocations: 4 kB / 1.355 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.953e-05/1.025, allocations: 4.125 kB / 1.355 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001231/1.025, allocations: 46.72 kB / 1.355 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/1.025, allocations: 0.6841 MB / 1.355 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of SimCode: time 1.363e-06/1.025, allocations: 0 / 1.355 GB, free: 9.07 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat