Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_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 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 181.2 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008119/0.0008118, allocations: 89.45 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3643/0.3651, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.5445, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5203/1.065, allocations: 131.4 MB / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.065, allocations: 74.7 kB / 1.013 GB, free: 7.051 MB / 0.6355 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.003449/1.069, allocations: 1.275 MB / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/1.069, allocations: 15.98 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/1.069, allocations: 3.906 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/1.069, allocations: 162.4 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/1.069, allocations: 0 / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/1.069, allocations: 0 / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.534e-05/1.069, allocations: 0 / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.223e-05/1.069, allocations: 29.7 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-06/1.069, allocations: 0 / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/1.069, allocations: 0 / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/1.069, allocations: 4 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.274e-05/1.069, allocations: 130.1 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 2.949e-05/1.069, allocations: 22.55 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/1.069, allocations: 4.859 kB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/1.07, allocations: 445.4 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/1.07, allocations: 38.5 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.07, allocations: 0 / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/1.07, allocations: 25.7 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/1.07, allocations: 55.41 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.797e-05/1.07, allocations: 85 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/1.07, allocations: 25.7 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/1.07, allocations: 84.17 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/1.07, allocations: 3.906 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/1.07, allocations: 0 / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/1.07, allocations: 318.1 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/1.07, allocations: 3.938 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/1.07, allocations: 6.562 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/1.07, allocations: 0 / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.07, allocations: 0 / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.739e-05/1.07, allocations: 33.77 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/1.07, allocations: 4 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.07, allocations: 4 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/1.07, allocations: 0 / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.638e-05/1.07, allocations: 0 / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/1.07, allocations: 0 / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/1.07, allocations: 3.906 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/1.07, allocations: 3.938 kB / 1.016 GB, free: 4.207 MB / 0.6355 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 5.226e-05/1.07, allocations: 109 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/1.07, allocations: 11.95 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.279e-05/1.07, allocations: 43.66 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.07, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.07, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.07, allocations: 3.906 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.45e-05/1.07, allocations: 126.2 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.07, allocations: 4 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.015e-05/1.071, allocations: 0 / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/1.071, allocations: 0 / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/1.071, allocations: 0 / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.071, allocations: 4.031 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.071, allocations: 0 / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.622e-05/1.071, allocations: 64.28 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001496/1.071, allocations: 432.2 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/1.071, allocations: 81.17 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/1.071, allocations: 11.89 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/1.071, allocations: 0 / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/1.071, allocations: 0 / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/1.071, allocations: 4 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.356e-05/1.071, allocations: 75.28 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007321/1.072, allocations: 27.25 kB / 1.017 GB, free: 3.137 MB / 0.6355 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.0002437/1.072, allocations: 131.2 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.511e-05/1.072, allocations: 8 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/1.072, allocations: 0 / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-06/1.072, allocations: 7.688 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.746e-05/1.072, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001237/1.072, allocations: 47.92 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/1.072, allocations: 0.6841 MB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of SimCode: time 1.663e-06/1.072, allocations: 0 / 1.018 GB, free: 2.203 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)