Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00283/0.00283, allocations: 185.5 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7623/0.7623, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 98.41 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4067/0.4078, allocations: 88.43 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.5693, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5355/1.105, allocations: 111.7 MB / 0.7424 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.105, allocations: 74.83 kB / 0.7424 GB, free: 10.95 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01234/1.118, allocations: 3.896 MB / 0.7462 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.118, allocations: 8.875 kB / 0.7462 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/1.118, allocations: 74.56 kB / 0.7463 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/1.118, allocations: 163.5 kB / 0.7465 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/1.118, allocations: 5.219 kB / 0.7465 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/1.118, allocations: 3.938 kB / 0.7465 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.015e-05/1.118, allocations: 33.11 kB / 0.7465 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.908e-05/1.118, allocations: 47.86 kB / 0.7466 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/1.118, allocations: 0 / 0.7466 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.118, allocations: 0 / 0.7466 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.118, allocations: 4 kB / 0.7466 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/1.119, allocations: 275.4 kB / 0.7468 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/1.119, allocations: 42.58 kB / 0.7469 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/1.119, allocations: 24.33 kB / 0.7469 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/1.119, allocations: 0 / 0.7469 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/1.119, allocations: 31.22 kB / 0.7469 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/1.119, allocations: 0 / 0.7469 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002986/1.119, allocations: 70.47 kB / 0.747 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/1.119, allocations: 59.34 kB / 0.747 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/1.12, allocations: 93.98 kB / 0.7471 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/1.12, allocations: 25.7 kB / 0.7472 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/1.12, allocations: 84.25 kB / 0.7472 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/1.12, allocations: 4.609 kB / 0.7472 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/1.12, allocations: 0 / 0.7472 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/1.12, allocations: 316.2 kB / 0.7475 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/1.12, allocations: 10.8 kB / 0.7476 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/1.12, allocations: 15.88 kB / 0.7476 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/1.12, allocations: 34.52 kB / 0.7476 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.12, allocations: 0 / 0.7476 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/1.12, allocations: 66.77 kB / 0.7477 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/1.12, allocations: 8.484 kB / 0.7477 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.12, allocations: 3.938 kB / 0.7477 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/1.12, allocations: 4.094 kB / 0.7477 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/1.12, allocations: 34.98 kB / 0.7477 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/1.12, allocations: 0 / 0.7477 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/1.12, allocations: 29.89 kB / 0.7477 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/1.12, allocations: 0.7031 kB / 0.7477 GB, free: 25.09 MB / 0.5105 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 (2): * Single equations (assignments): 2 * 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 6.754e-05/1.121, allocations: 105 kB / 0.7478 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/1.121, allocations: 8.469 kB / 0.7479 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/1.121, allocations: 11.12 kB / 0.7479 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.121, allocations: 0 / 0.7479 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.121, allocations: 0 / 0.7479 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/1.121, allocations: 0 / 0.7479 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/1.121, allocations: 147.1 kB / 0.748 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.121, allocations: 0 / 0.748 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/1.121, allocations: 34.5 kB / 0.748 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.121, allocations: 0.6094 kB / 0.748 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/1.121, allocations: 4.703 kB / 0.748 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.121, allocations: 3.938 kB / 0.748 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.121, allocations: 0 / 0.748 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002253/1.121, allocations: 169.6 kB / 0.7482 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003071/1.122, allocations: 0.5394 MB / 0.7487 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/1.122, allocations: 81.97 kB / 0.7488 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/1.122, allocations: 4.406 kB / 0.7488 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/1.122, allocations: 29.89 kB / 0.7488 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/1.122, allocations: 1.406 kB / 0.7488 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/1.122, allocations: 4.469 kB / 0.7488 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.597e-05/1.122, allocations: 87.78 kB / 0.7489 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000817/1.123, allocations: 16.39 kB / 0.7489 GB, free: 23.97 MB / 0.5105 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 (2): * Single equations (assignments): 2 * 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.000142/1.123, allocations: 107.7 kB / 0.7491 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/1.123, allocations: 30.83 kB / 0.7491 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.123, allocations: 0 / 0.7491 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/1.123, allocations: 19.59 kB / 0.7491 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/1.123, allocations: 4.562 kB / 0.7491 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/1.124, allocations: 116.5 kB / 0.7492 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/1.124, allocations: 0.6967 MB / 0.7499 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/1.124, allocations: 0 / 0.7499 GB, free: 23.09 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)