Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 289.8 MB / 297.1 MB, free: 6.711 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 173.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.2 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 89.67 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2922/0.2932, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7322/1.025, allocations: 116.3 MB / 0.9727 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/1.22, allocations: 138.9 MB / 1.108 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.22, allocations: 79.89 kB / 1.108 GB, free: 9.457 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01362/1.234, allocations: 4.107 MB / 1.112 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.234, allocations: 12 kB / 1.112 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/1.235, allocations: 71.83 kB / 1.113 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/1.235, allocations: 171.7 kB / 1.113 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/1.235, allocations: 0 / 1.113 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/1.235, allocations: 7.938 kB / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.952e-05/1.235, allocations: 19.98 kB / 1.113 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/1.235, allocations: 49.67 kB / 1.113 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/1.235, allocations: 3.984 kB / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/1.235, allocations: 3.906 kB / 1.113 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/1.235, allocations: 0 / 1.113 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/1.235, allocations: 139.2 kB / 1.113 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/1.235, allocations: 54.61 kB / 1.113 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/1.236, allocations: 24.86 kB / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-05/1.236, allocations: 85.19 kB / 1.113 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/1.236, allocations: 30.56 kB / 1.113 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/1.236, allocations: 0 / 1.113 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001395/1.237, allocations: 442 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/1.237, allocations: 55.41 kB / 1.114 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/1.237, allocations: 89 kB / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/1.237, allocations: 25.7 kB / 1.114 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/1.237, allocations: 80.8 kB / 1.114 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/1.237, allocations: 19.78 kB / 1.114 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/1.237, allocations: 4 kB / 1.114 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.237, allocations: 318.8 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/1.238, allocations: 12 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.1e-05/1.238, allocations: 12 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/1.238, allocations: 67.91 kB / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/1.238, allocations: 0.75 kB / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003879/1.238, allocations: 125.5 kB / 1.114 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.238, allocations: 4 kB / 1.114 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.238, allocations: 0 / 1.114 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.238, allocations: 4 kB / 1.114 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/1.238, allocations: 27.92 kB / 1.114 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/1.238, allocations: 2.969 kB / 1.114 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/1.239, allocations: 20.23 kB / 1.114 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/1.239, allocations: 12.55 kB / 1.114 GB, free: 3.152 MB / 0.7136 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 (6): * Single equations (assignments): 6 * 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 8.112e-05/1.239, allocations: 101 kB / 1.114 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/1.239, allocations: 3.906 kB / 1.114 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/1.239, allocations: 150.5 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.239, allocations: 192 / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/1.239, allocations: 4 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/1.239, allocations: 3.984 kB / 1.115 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/1.239, allocations: 150.2 kB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.239, allocations: 0 / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/1.24, allocations: 37.61 kB / 1.115 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.24, allocations: 0 / 1.115 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.24, allocations: 0 / 1.115 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.24, allocations: 7.984 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.24, allocations: 4 kB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004519/1.24, allocations: 160.9 kB / 1.115 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006259/1.241, allocations: 0.5678 MB / 1.115 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/1.241, allocations: 81.09 kB / 1.116 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/1.241, allocations: 8.062 kB / 1.116 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/1.241, allocations: 11.98 kB / 1.116 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/1.241, allocations: 7.984 kB / 1.116 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/1.241, allocations: 4 kB / 1.116 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.947e-05/1.241, allocations: 83.34 kB / 1.116 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009219/1.242, allocations: 47.83 kB / 1.116 GB, free: 1.625 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002606/1.242, allocations: 131.2 kB / 1.116 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001303/1.243, allocations: 36.19 kB / 1.116 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.243, allocations: 0 / 1.116 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/1.243, allocations: 24.05 kB / 1.116 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/1.243, allocations: 10.48 kB / 1.116 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/1.243, allocations: 132.4 kB / 1.116 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/1.244, allocations: 0.7075 MB / 1.117 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.244, allocations: 0 / 1.117 GB, free: 0.5312 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)