Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",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 loadModel(Buildings): time 3.953/3.953, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.545/4.498, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/4.745, allocations: 98.72 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/4.99, allocations: 124.5 MB / 0.7499 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/4.99, allocations: 79.59 kB / 0.75 GB, free: 13.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0221/5.012, allocations: 4.169 MB / 0.754 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/5.012, allocations: 12 kB / 0.754 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000519/5.013, allocations: 59.84 kB / 0.7541 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/5.013, allocations: 175 kB / 0.7543 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/5.013, allocations: 0 / 0.7543 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/5.013, allocations: 4 kB / 0.7543 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/5.013, allocations: 27.89 kB / 0.7543 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/5.013, allocations: 45.67 kB / 0.7543 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/5.013, allocations: 0 / 0.7543 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/5.013, allocations: 0 / 0.7543 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/5.013, allocations: 0 / 0.7543 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/5.014, allocations: 146.2 kB / 0.7545 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/5.014, allocations: 49.67 kB / 0.7545 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/5.014, allocations: 20.98 kB / 0.7545 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/5.014, allocations: 3.984 kB / 0.7545 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/5.014, allocations: 34.56 kB / 0.7546 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/5.014, allocations: 0 / 0.7546 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.005162/5.019, allocations: 0.4931 MB / 0.7551 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/5.019, allocations: 56.78 kB / 0.7551 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/5.019, allocations: 101 kB / 0.7552 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/5.019, allocations: 25.7 kB / 0.7552 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/5.019, allocations: 84.14 kB / 0.7553 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/5.019, allocations: 27.61 kB / 0.7553 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/5.019, allocations: 0 / 0.7553 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/5.02, allocations: 318.8 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/5.02, allocations: 39.98 kB / 0.7557 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/5.02, allocations: 35.92 kB / 0.7557 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/5.02, allocations: 60.16 kB / 0.7558 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/5.02, allocations: 4 kB / 0.7558 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005877/5.021, allocations: 149.5 kB / 0.7559 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/5.021, allocations: 4 kB / 0.7559 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/5.021, allocations: 0 / 0.7559 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/5.021, allocations: 7.875 kB / 0.7559 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/5.022, allocations: 75.91 kB / 0.756 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/5.022, allocations: 7.906 kB / 0.756 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/5.022, allocations: 47.97 kB / 0.7561 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/5.022, allocations: 11.97 kB / 0.7561 GB, free: 6.594 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 (9): * Single equations (assignments): 9 * 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.0001171/5.023, allocations: 104.9 kB / 0.7562 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/5.023, allocations: 11.91 kB / 0.7562 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/5.023, allocations: 8.375 kB / 0.7562 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/5.023, allocations: 0 / 0.7562 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/5.023, allocations: 0 / 0.7562 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/5.023, allocations: 0 / 0.7562 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/5.025, allocations: 0.5139 MB / 0.7567 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/5.025, allocations: 3.906 kB / 0.7567 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/5.026, allocations: 79.92 kB / 0.7568 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/5.026, allocations: 0 / 0.7568 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/5.026, allocations: 7.984 kB / 0.7568 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/5.026, allocations: 0 / 0.7568 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/5.026, allocations: 4 kB / 0.7568 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005995/5.026, allocations: 264.5 kB / 0.757 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006921/5.027, allocations: 0.6341 MB / 0.7577 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/5.027, allocations: 85.02 kB / 0.7577 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/5.027, allocations: 96 / 0.7577 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006027/5.028, allocations: 51.89 kB / 0.7578 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/5.028, allocations: 20.34 kB / 0.7578 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/5.028, allocations: 7.984 kB / 0.7578 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.316e-05/5.028, allocations: 91.27 kB / 0.7579 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001227/5.029, allocations: 36 kB / 0.7579 GB, free: 4.535 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000278/5.03, allocations: 119.2 kB / 0.758 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003981/5.03, allocations: 91.88 kB / 0.7581 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/5.03, allocations: 0 / 0.7581 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/5.03, allocations: 55.91 kB / 0.7582 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/5.03, allocations: 4.422 kB / 0.7582 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/5.033, allocations: 389.2 kB / 0.7586 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/5.034, allocations: 0.7192 MB / 0.7593 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of SimCode: time 1.352e-06/5.034, allocations: 0 / 0.7593 GB, free: 3.102 MB / 0.6355 GB