Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [: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.504/1.504, allocations: 289.8 MB / 297 MB, free: 6.695 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.001218/0.001218, allocations: 173.4 kB / 366.3 MB, free: 2.016 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.399/1.399, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0008699/0.0008698, allocations: 79.69 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.014e-05/1.017e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/0.5224, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.6817, allocations: 139.7 MB / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.682, allocations: 79.89 kB / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0165/0.6985, allocations: 5.126 MB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.6985, allocations: 8 kB / 1.114 GB, free: 3.598 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.0006186/0.6992, allocations: 390.2 kB / 1.114 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.6992, allocations: 8.031 kB / 1.114 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004573/0.6997, allocations: 75.92 kB / 1.115 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.6999, allocations: 170.9 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.7, allocations: 7.938 kB / 1.115 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.7, allocations: 7.938 kB / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001328/0.7001, allocations: 31.98 kB / 1.115 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.7003, allocations: 71.03 kB / 1.115 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.7003, allocations: 11.91 kB / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.7003, allocations: 0 / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7004, allocations: 0 / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.701, allocations: 309.2 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.7011, allocations: 53.61 kB / 1.115 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.7012, allocations: 20.86 kB / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.7012, allocations: 0 / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.7012, allocations: 34.56 kB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.7012, allocations: 0 / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.01458/0.7158, allocations: 2.181 MB / 1.117 GB, free: 12 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.7159, allocations: 53.09 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.716, allocations: 89 kB / 1.117 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.716, allocations: 29.7 kB / 1.118 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.7161, allocations: 95.98 kB / 1.118 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.7161, allocations: 35.45 kB / 1.118 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.7162, allocations: 0 / 1.118 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7163, allocations: 318.8 kB / 1.118 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.7165, allocations: 107.9 kB / 1.118 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.7168, allocations: 111.9 kB / 1.118 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.7171, allocations: 137.5 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7172, allocations: 3.906 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008152/0.718, allocations: 337.5 kB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.718, allocations: 4 kB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.718, allocations: 0 / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.718, allocations: 0 / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/0.719, allocations: 135.6 kB / 1.119 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.719, allocations: 6.812 kB / 1.119 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/0.7197, allocations: 63.94 kB / 1.119 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.7197, allocations: 21.16 kB / 1.119 GB, free: 14.46 MB / 0.7292 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.0001275/0.7199, allocations: 101.6 kB / 1.119 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.72, allocations: 11.89 kB / 1.119 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.72, allocations: 8.25 kB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.72, allocations: 4 kB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.72, allocations: 3.984 kB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.72, allocations: 4 kB / 1.119 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.7217, allocations: 0.8809 MB / 1.12 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7217, allocations: 3.984 kB / 1.12 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009172/0.7226, allocations: 123.8 kB / 1.12 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.7226, allocations: 0 / 1.12 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/0.7227, allocations: 27.94 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7227, allocations: 0 / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7227, allocations: 1.781 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001168/0.7239, allocations: 0.5848 MB / 1.121 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.724, allocations: 113 kB / 1.121 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.7241, allocations: 0 / 1.121 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008263/0.725, allocations: 60 kB / 1.121 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.7251, allocations: 35.83 kB / 1.121 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.7251, allocations: 31.92 kB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.715e-05/0.7252, allocations: 75.28 kB / 1.121 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003897/0.7256, allocations: 55.94 kB / 1.121 GB, free: 12.2 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.0002293/0.7258, allocations: 115.2 kB / 1.121 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005931/0.7264, allocations: 266 kB / 1.121 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7264, allocations: 0 / 1.121 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.7267, allocations: 147.8 kB / 1.121 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.7269, allocations: 8.625 kB / 1.121 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.7312, allocations: 0.802 MB / 1.122 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007297/0.7319, allocations: 0.8204 MB / 1.123 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.732, allocations: 0 / 1.123 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of Templates: time 0.008797/0.7408, allocations: 5.77 MB / 1.129 GB, free: 4.238 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)