Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.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.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",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.7374/0.7374, allocations: 141.8 MB / 149.1 MB, free: 1.055 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 179.3 kB / 182 MB, free: 364 kB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 221.4 MB / 436 MB, free: 5.156 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.0009014/0.0009016, allocations: 92.67 kB / 0.507 GB, free: 1.809 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 286.5 kB / 0.5885 GB, free: 46.9 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3171/0.3189, allocations: 89.62 MB / 0.676 GB, free: 59.46 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.4638, allocations: 82.79 MB / 0.7568 GB, free: 244 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.597, allocations: 107.9 MB / 0.8622 GB, free: 4.203 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5972, allocations: 73.98 kB / 0.8622 GB, free: 4.133 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.004237/0.6015, allocations: 1.333 MB / 0.8635 GB, free: 2.754 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.6016, allocations: 11.98 kB / 0.8636 GB, free: 2.742 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.6016, allocations: 7.906 kB / 0.8636 GB, free: 2.734 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.6017, allocations: 178.9 kB / 0.8637 GB, free: 2.52 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.6018, allocations: 0 / 0.8637 GB, free: 2.52 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.6018, allocations: 0 / 0.8637 GB, free: 2.52 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001426/0.6019, allocations: 71.98 kB / 0.8638 GB, free: 2.449 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.6021, allocations: 73.67 kB / 0.8639 GB, free: 2.371 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.6021, allocations: 3.938 kB / 0.8639 GB, free: 2.367 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.6021, allocations: 0 / 0.8639 GB, free: 2.367 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.6021, allocations: 19.92 kB / 0.8639 GB, free: 2.348 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.6027, allocations: 361 kB / 0.8642 GB, free: 1.957 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.213e-05/0.6028, allocations: 30.58 kB / 0.8643 GB, free: 1.918 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.6028, allocations: 16.86 kB / 0.8643 GB, free: 1.898 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.6031, allocations: 133.2 kB / 0.8644 GB, free: 1.75 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.6031, allocations: 34.56 kB / 0.8644 GB, free: 1.707 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.6031, allocations: 0 / 0.8644 GB, free: 1.707 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0002533/0.6034, allocations: 81.5 kB / 0.8645 GB, free: 1.621 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.6034, allocations: 51.41 kB / 0.8646 GB, free: 1.559 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6035, allocations: 132 kB / 0.8647 GB, free: 1.422 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.6036, allocations: 25.7 kB / 0.8647 GB, free: 1.391 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.6036, allocations: 119.7 kB / 0.8648 GB, free: 1.27 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.6036, allocations: 11.91 kB / 0.8649 GB, free: 1.258 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.6037, allocations: 0 / 0.8649 GB, free: 1.258 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.6038, allocations: 318.7 kB / 0.8652 GB, free: 0.9375 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.6038, allocations: 31.94 kB / 0.8652 GB, free: 0.9062 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.6039, allocations: 87.94 kB / 0.8653 GB, free: 0.7891 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.604, allocations: 59.88 kB / 0.8653 GB, free: 0.7305 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.604, allocations: 0 / 0.8653 GB, free: 0.7305 MB / 0.5419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000251/0.6043, allocations: 141.6 kB / 0.8655 GB, free: 0.5859 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.6043, allocations: 4 kB / 0.8655 GB, free: 0.582 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6043, allocations: 4 kB / 0.8655 GB, free: 0.5781 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.6043, allocations: 0 / 0.8655 GB, free: 0.5781 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.6045, allocations: 47.91 kB / 0.8655 GB, free: 0.5312 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6046, allocations: 8.094 kB / 0.8655 GB, free: 0.5234 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.6047, allocations: 27.83 kB / 0.8655 GB, free: 0.4961 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.6047, allocations: 8 kB / 0.8656 GB, free: 500 kB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 6.502e-05/0.6048, allocations: 109 kB / 0.8657 GB, free: 384 kB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.6048, allocations: 7.906 kB / 0.8657 GB, free: 376 kB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.6051, allocations: 105.6 kB / 0.8658 GB, free: 256 kB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6051, allocations: 0 / 0.8658 GB, free: 256 kB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6051, allocations: 3.938 kB / 0.8658 GB, free: 252 kB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6051, allocations: 0 / 0.8658 GB, free: 252 kB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.6052, allocations: 150.2 kB / 0.8659 GB, free: 64 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6052, allocations: 0 / 0.8659 GB, free: 64 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.6054, allocations: 27.97 kB / 0.8659 GB, free: 36 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.6054, allocations: 144 / 0.8659 GB, free: 36 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.6054, allocations: 4 kB / 0.8659 GB, free: 32 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6054, allocations: 3.906 kB / 0.866 GB, free: 28 kB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6054, allocations: 0 / 0.866 GB, free: 28 kB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.208/0.8134, allocations: 175.5 kB / 0.8661 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002043/0.8136, allocations: 0.5447 MB / 0.8667 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.8137, allocations: 82.92 kB / 0.8667 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.8137, allocations: 0 / 0.8667 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.8139, allocations: 20.17 kB / 0.8667 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.8139, allocations: 6.922 kB / 0.8668 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.8139, allocations: 0 / 0.8668 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.539e-05/0.814, allocations: 111 kB / 0.8669 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009896/0.815, allocations: 16.5 kB / 0.8669 GB, free: 168.1 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 (3): * Single equations (assignments): 3 * 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.0001556/0.8151, allocations: 100.3 kB / 0.867 GB, free: 168 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.8153, allocations: 55.12 kB / 0.867 GB, free: 168 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8153, allocations: 0 / 0.867 GB, free: 168 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.8153, allocations: 17.25 kB / 0.867 GB, free: 168 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.8155, allocations: 10.59 kB / 0.8671 GB, free: 168 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.8158, allocations: 104 kB / 0.8672 GB, free: 168 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.816, allocations: 0.7198 MB / 0.8679 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of SimCode: time 2.61e-07/0.816, allocations: 0 / 0.8679 GB, free: 167.3 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)