Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.0.1-maint.8.0.x/package.mo): time 1.451/1.451, allocations: 285.5 MB / 292.8 MB, free: 9.793 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.0009604/0.0009606, allocations: 177.3 kB / 361.1 MB, free: 396 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.1 MB / 0.6195 GB, free: 2.941 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000806/0.000806, allocations: 87.33 kB / 0.7326 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4203/0.4211, allocations: 121.5 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.5913, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4849/1.076, allocations: 138.7 MB / 1.099 GB, free: 32.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/1.076, allocations: 80.59 kB / 1.099 GB, free: 32.06 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01458/1.091, allocations: 5.496 MB / 1.105 GB, free: 31.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/1.091, allocations: 12.12 kB / 1.105 GB, free: 31.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/1.091, allocations: 79.2 kB / 1.105 GB, free: 31.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.254e-05/1.092, allocations: 175.3 kB / 1.105 GB, free: 31.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/1.092, allocations: 3.188 kB / 1.105 GB, free: 31.15 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/1.092, allocations: 14.41 kB / 1.105 GB, free: 31.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001058/1.092, allocations: 40.8 kB / 1.105 GB, free: 31.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/1.092, allocations: 66.52 kB / 1.105 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.092, allocations: 0.625 kB / 1.105 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.092, allocations: 0 / 1.105 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.092, allocations: 7.125 kB / 1.105 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/1.092, allocations: 310.1 kB / 1.105 GB, free: 30.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/1.092, allocations: 49.84 kB / 1.105 GB, free: 30.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/1.093, allocations: 22.52 kB / 1.105 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/1.093, allocations: 6.625 kB / 1.105 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/1.093, allocations: 38.47 kB / 1.105 GB, free: 30.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/1.093, allocations: 0 / 1.105 GB, free: 30.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.01384/1.106, allocations: 2.182 MB / 1.108 GB, free: 30.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/1.106, allocations: 51.41 kB / 1.108 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.683e-05/1.107, allocations: 91.97 kB / 1.108 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/1.107, allocations: 25.7 kB / 1.108 GB, free: 30.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.117e-05/1.107, allocations: 94.39 kB / 1.108 GB, free: 29.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/1.107, allocations: 37.45 kB / 1.108 GB, free: 29.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/1.107, allocations: 3.219 kB / 1.108 GB, free: 29.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.923e-05/1.107, allocations: 310.8 kB / 1.108 GB, free: 29.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/1.107, allocations: 114.5 kB / 1.108 GB, free: 29.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/1.107, allocations: 118.2 kB / 1.108 GB, free: 29.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/1.107, allocations: 132.6 kB / 1.109 GB, free: 29.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/1.107, allocations: 0 / 1.109 GB, free: 29.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006948/1.108, allocations: 332.8 kB / 1.109 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.108, allocations: 9.641 kB / 1.109 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.108, allocations: 0 / 1.109 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/1.108, allocations: 4.188 kB / 1.109 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/1.109, allocations: 118.6 kB / 1.109 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/1.109, allocations: 4.062 kB / 1.109 GB, free: 29.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/1.11, allocations: 69.48 kB / 1.109 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/1.11, allocations: 30 kB / 1.109 GB, free: 29.57 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 (13): * Single equations (assignments): 13 * 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 0.0001808/1.11, allocations: 107.7 kB / 1.109 GB, free: 45.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/1.11, allocations: 7.188 kB / 1.109 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/1.11, allocations: 14.62 kB / 1.109 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/1.11, allocations: 3.219 kB / 1.109 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.11, allocations: 0 / 1.109 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.11, allocations: 0 / 1.109 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/1.111, allocations: 0.8704 MB / 1.11 GB, free: 44.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.111, allocations: 3.938 kB / 1.11 GB, free: 44.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/1.112, allocations: 132.9 kB / 1.11 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.112, allocations: 0 / 1.11 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/1.112, allocations: 21.12 kB / 1.11 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.112, allocations: 0 / 1.11 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.112, allocations: 0 / 1.11 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009998/1.113, allocations: 0.5868 MB / 1.111 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001365/1.115, allocations: 1.109 MB / 1.112 GB, free: 44.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.115, allocations: 117.5 kB / 1.112 GB, free: 44.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/1.115, allocations: 11 kB / 1.112 GB, free: 44.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/1.116, allocations: 61.17 kB / 1.112 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/1.116, allocations: 27.94 kB / 1.112 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/1.116, allocations: 30.03 kB / 1.112 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.935e-05/1.116, allocations: 79.16 kB / 1.112 GB, free: 44.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009211/1.117, allocations: 58.19 kB / 1.112 GB, free: 44.06 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001996/1.117, allocations: 117 kB / 1.112 GB, free: 43.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005034/1.118, allocations: 265 kB / 1.113 GB, free: 43.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/1.118, allocations: 0 / 1.113 GB, free: 43.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/1.118, allocations: 146.6 kB / 1.113 GB, free: 43.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/1.118, allocations: 10.53 kB / 1.113 GB, free: 43.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/1.122, allocations: 0.8082 MB / 1.114 GB, free: 43.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/1.123, allocations: 0.8194 MB / 1.114 GB, free: 43.1 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/1.123, allocations: 0 / 1.114 GB, free: 43.1 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)