Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",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 10.0.0-master/package.mo): time 1.811/1.811, allocations: 390.4 MB / 397.7 MB, free: 10.61 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.00099/0.00099, allocations: 175.9 kB / 490.8 MB, free: 11.17 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.141/1.141, allocations: 221.4 MB / 0.7863 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008945, allocations: 103.1 kB / 0.9264 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2437/0.2446, allocations: 149.1 MB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.7837, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.9238, allocations: 149.4 MB / 1.358 GB, free: 42.12 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.924, allocations: 68.53 kB / 1.358 GB, free: 42.05 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004239/0.9282, allocations: 1.614 MB / 1.359 GB, free: 40.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.9283, allocations: 11.94 kB / 1.359 GB, free: 40.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.9283, allocations: 5.469 kB / 1.359 GB, free: 40.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.219e-05/0.9284, allocations: 174.9 kB / 1.359 GB, free: 40.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.9284, allocations: 0.6562 kB / 1.359 GB, free: 40.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.9284, allocations: 0.5 kB / 1.359 GB, free: 40.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.195e-05/0.9285, allocations: 12 kB / 1.359 GB, free: 40.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.815e-05/0.9286, allocations: 34.61 kB / 1.359 GB, free: 40.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.9286, allocations: 0 / 1.359 GB, free: 40.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.9286, allocations: 0.5 kB / 1.359 GB, free: 40.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9286, allocations: 0.9375 kB / 1.359 GB, free: 40.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.9289, allocations: 252.4 kB / 1.36 GB, free: 39.87 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.929, allocations: 27.67 kB / 1.36 GB, free: 39.84 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.929, allocations: 8.922 kB / 1.36 GB, free: 39.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004863/0.9295, allocations: 444 kB / 1.36 GB, free: 39.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.113e-05/0.9295, allocations: 31.97 kB / 1.36 GB, free: 39.26 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.9295, allocations: 0 / 1.36 GB, free: 39.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.9297, allocations: 46.41 kB / 1.36 GB, free: 39.21 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.9297, allocations: 55.97 kB / 1.36 GB, free: 39.14 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.596e-05/0.9298, allocations: 90.47 kB / 1.36 GB, free: 39.05 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.9298, allocations: 29.7 kB / 1.36 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.9298, allocations: 80.14 kB / 1.36 GB, free: 38.93 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.9298, allocations: 7.906 kB / 1.36 GB, free: 38.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.9298, allocations: 0.6875 kB / 1.36 GB, free: 38.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.9299, allocations: 315.8 kB / 1.361 GB, free: 38.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.9299, allocations: 4 kB / 1.361 GB, free: 38.61 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.21e-05/0.9299, allocations: 8.562 kB / 1.361 GB, free: 38.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.93, allocations: 0.75 kB / 1.361 GB, free: 38.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.93, allocations: 4 kB / 1.361 GB, free: 38.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.929e-05/0.9301, allocations: 45.89 kB / 1.361 GB, free: 38.55 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.9301, allocations: 4.5 kB / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9301, allocations: 1.406 kB / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.9301, allocations: 0 / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.9302, allocations: 17.11 kB / 1.361 GB, free: 38.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.9302, allocations: 3.938 kB / 1.361 GB, free: 38.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.9303, allocations: 13.7 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.9303, allocations: 0 / 1.361 GB, free: 38.51 MB / 0.8855 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): 2 * 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.11e-05/0.9303, allocations: 109.9 kB / 1.361 GB, free: 38.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.9304, allocations: 3.906 kB / 1.361 GB, free: 38.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.9305, allocations: 46.94 kB / 1.361 GB, free: 38.35 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.9305, allocations: 9.484 kB / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.9305, allocations: 0 / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.9305, allocations: 0 / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.018e-05/0.9306, allocations: 138.1 kB / 1.361 GB, free: 38.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9306, allocations: 0.6875 kB / 1.361 GB, free: 38.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.9307, allocations: 13.55 kB / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9307, allocations: 0 / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.9307, allocations: 2.844 kB / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.9307, allocations: 0 / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.9307, allocations: 5.031 kB / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.754e-05/0.9308, allocations: 144 kB / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001104/0.9309, allocations: 0.5057 MB / 1.362 GB, free: 37.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.9309, allocations: 81.02 kB / 1.362 GB, free: 37.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.931, allocations: 1.156 kB / 1.362 GB, free: 37.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.931, allocations: 13.02 kB / 1.362 GB, free: 37.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.9311, allocations: 0.9375 kB / 1.362 GB, free: 37.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.9311, allocations: 8 kB / 1.362 GB, free: 37.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.764e-05/0.9311, allocations: 75.97 kB / 1.362 GB, free: 37.29 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007763/0.9319, allocations: 35.92 kB / 1.362 GB, free: 37.25 MB / 0.8855 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): 2 * 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.0002315/0.9321, allocations: 136.3 kB / 1.362 GB, free: 37.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.9322, allocations: 12 kB / 1.362 GB, free: 37.11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9322, allocations: 0.5 kB / 1.362 GB, free: 37.11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/0.9323, allocations: 8.844 kB / 1.362 GB, free: 37.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.9324, allocations: 8.25 kB / 1.362 GB, free: 37.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.9326, allocations: 62.19 kB / 1.362 GB, free: 37.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.9328, allocations: 0.6918 MB / 1.363 GB, free: 36.3 MB / 0.8855 GB Notification: Performance of SimCode: time 2.7e-07/0.9328, allocations: 0 / 1.363 GB, free: 36.3 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat