Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7038/0.7038, allocations: 141.8 MB / 149.1 MB, free: 14.65 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 172.6 kB / 182 MB, free: 11.14 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 221.4 MB / 436 MB, free: 3.727 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 93.67 kB / 0.507 GB, free: 18.51 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001823, allocations: 279.7 kB / 0.5885 GB, free: 5.121 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3576/0.3595, allocations: 89.63 MB / 0.676 GB, free: 138 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.4949, allocations: 82.77 MB / 0.7568 GB, free: 85.57 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.6113, allocations: 109 MB / 0.8633 GB, free: 8.41 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.6116, allocations: 77.34 kB / 0.8634 GB, free: 8.336 MB / 0.5419 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.01288/0.6245, allocations: 3.901 MB / 0.8672 GB, free: 4.383 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.6246, allocations: 12 kB / 0.8672 GB, free: 4.371 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.625, allocations: 67.83 kB / 0.8672 GB, free: 4.305 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.6251, allocations: 167 kB / 0.8674 GB, free: 4.102 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.6252, allocations: 4 kB / 0.8674 GB, free: 4.098 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.6252, allocations: 0 / 0.8674 GB, free: 4.098 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001037/0.6253, allocations: 31.92 kB / 0.8674 GB, free: 4.066 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.6254, allocations: 49.66 kB / 0.8675 GB, free: 4.012 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6254, allocations: 0 / 0.8675 GB, free: 4.012 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6254, allocations: 3.906 kB / 0.8675 GB, free: 4.008 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6254, allocations: 0 / 0.8675 GB, free: 4.008 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.6259, allocations: 269.5 kB / 0.8677 GB, free: 3.707 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.626, allocations: 42.56 kB / 0.8678 GB, free: 3.656 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.6261, allocations: 20.83 kB / 0.8678 GB, free: 3.633 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.6261, allocations: 0 / 0.8678 GB, free: 3.633 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.6261, allocations: 38.5 kB / 0.8678 GB, free: 3.586 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.6261, allocations: 0 / 0.8678 GB, free: 3.586 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0003018/0.6264, allocations: 73.66 kB / 0.8679 GB, free: 3.508 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.6265, allocations: 55.41 kB / 0.868 GB, free: 3.441 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.6266, allocations: 96.88 kB / 0.8681 GB, free: 3.34 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.6266, allocations: 25.7 kB / 0.8681 GB, free: 3.309 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.6266, allocations: 88.17 kB / 0.8682 GB, free: 3.219 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.6266, allocations: 3.906 kB / 0.8682 GB, free: 3.215 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.6267, allocations: 0 / 0.8682 GB, free: 3.215 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6268, allocations: 318.8 kB / 0.8685 GB, free: 2.895 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.6268, allocations: 8 kB / 0.8685 GB, free: 2.887 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.6268, allocations: 16 kB / 0.8685 GB, free: 2.871 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.627, allocations: 28.03 kB / 0.8685 GB, free: 2.844 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.627, allocations: 0 / 0.8685 GB, free: 2.844 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002093/0.6272, allocations: 81.5 kB / 0.8686 GB, free: 2.758 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.6272, allocations: 4 kB / 0.8686 GB, free: 2.754 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6272, allocations: 0 / 0.8686 GB, free: 2.754 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.6272, allocations: 0 / 0.8686 GB, free: 2.754 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.6274, allocations: 32.25 kB / 0.8686 GB, free: 2.723 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.6275, allocations: 0 / 0.8686 GB, free: 2.723 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.6276, allocations: 35.97 kB / 0.8687 GB, free: 2.688 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.6276, allocations: 0 / 0.8687 GB, free: 2.688 MB / 0.5419 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 0.0001021/0.6277, allocations: 104.9 kB / 0.8688 GB, free: 2.578 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.6278, allocations: 4 kB / 0.8688 GB, free: 2.574 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.6278, allocations: 3.312 kB / 0.8688 GB, free: 2.574 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6278, allocations: 4 kB / 0.8688 GB, free: 2.57 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6278, allocations: 0 / 0.8688 GB, free: 2.57 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6278, allocations: 0 / 0.8688 GB, free: 2.57 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.628, allocations: 154.1 kB / 0.8689 GB, free: 2.383 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.628, allocations: 0 / 0.8689 GB, free: 2.383 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.6281, allocations: 31.97 kB / 0.869 GB, free: 2.352 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6281, allocations: 4 kB / 0.869 GB, free: 2.348 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.6282, allocations: 0 / 0.869 GB, free: 2.348 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6282, allocations: 0 / 0.869 GB, free: 2.348 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6282, allocations: 0 / 0.869 GB, free: 2.348 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002399/0.6284, allocations: 179.4 kB / 0.8691 GB, free: 2.156 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003294/0.6288, allocations: 0.5311 MB / 0.8697 GB, free: 1.605 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.6288, allocations: 81.11 kB / 0.8697 GB, free: 1.508 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.6288, allocations: 3.938 kB / 0.8697 GB, free: 1.504 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.629, allocations: 28.03 kB / 0.8698 GB, free: 1.477 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.629, allocations: 7.906 kB / 0.8698 GB, free: 1.469 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.6291, allocations: 3.984 kB / 0.8698 GB, free: 1.465 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.39e-05/0.6291, allocations: 87.28 kB / 0.8699 GB, free: 1.379 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008214/0.6299, allocations: 19.94 kB / 0.8699 GB, free: 1.359 MB / 0.5419 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.0001693/0.6301, allocations: 107.2 kB / 0.87 GB, free: 1.246 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.6302, allocations: 31.92 kB / 0.87 GB, free: 1.215 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6302, allocations: 3.938 kB / 0.87 GB, free: 1.211 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.155e-05/0.6303, allocations: 16 kB / 0.87 GB, free: 1.195 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.6305, allocations: 4.125 kB / 0.87 GB, free: 1.191 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.6309, allocations: 107.9 kB / 0.8701 GB, free: 1.062 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.6312, allocations: 0.6997 MB / 0.8708 GB, free: 344 kB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.6312, allocations: 0 / 0.8708 GB, free: 344 kB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)