Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.229/1.229, allocations: 249.4 MB / 256.7 MB, free: 15.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009974/0.0009974, allocations: 178.9 kB / 316 MB, free: 7.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 0.5667 GB, free: 23.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008175/0.0008177, allocations: 94.36 kB / 0.671 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2189/0.2198, allocations: 112.5 MB / 0.7808 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.6397, allocations: 106.3 MB / 0.8846 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.7794, allocations: 130.9 MB / 1.012 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.7796, allocations: 71.95 kB / 1.013 GB, free: 9.23 MB / 0.6667 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.003621/0.7832, allocations: 1.328 MB / 1.014 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.7832, allocations: 8 kB / 1.014 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.7833, allocations: 11.81 kB / 1.014 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.221e-05/0.7834, allocations: 178.9 kB / 1.014 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.7834, allocations: 0 / 1.014 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.7834, allocations: 0 / 1.014 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/0.7835, allocations: 67.98 kB / 1.014 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.7837, allocations: 81.58 kB / 1.014 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.7837, allocations: 4 kB / 1.014 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.7837, allocations: 0 / 1.014 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.7837, allocations: 11.98 kB / 1.014 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.7843, allocations: 364.9 kB / 1.015 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/0.7843, allocations: 30.58 kB / 1.015 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.7844, allocations: 20.86 kB / 1.015 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.7846, allocations: 125.2 kB / 1.015 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.7846, allocations: 30.56 kB / 1.015 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7847, allocations: 0 / 1.015 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002471/0.7849, allocations: 73.56 kB / 1.015 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.7849, allocations: 55.31 kB / 1.015 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.785, allocations: 137.2 kB / 1.015 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.7851, allocations: 25.7 kB / 1.015 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.7851, allocations: 123.5 kB / 1.015 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.936e-06/0.7851, allocations: 7.906 kB / 1.015 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.7851, allocations: 0 / 1.015 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.7852, allocations: 318.8 kB / 1.015 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.7853, allocations: 20 kB / 1.015 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/0.7854, allocations: 94.56 kB / 1.016 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.7855, allocations: 59.88 kB / 1.016 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7855, allocations: 4 kB / 1.016 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000233/0.7857, allocations: 133.4 kB / 1.016 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.7858, allocations: 4.312 kB / 1.016 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7858, allocations: 7.938 kB / 1.016 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.7858, allocations: 7.906 kB / 1.016 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.786, allocations: 39.97 kB / 1.016 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.786, allocations: 7.938 kB / 1.016 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.7861, allocations: 34.42 kB / 1.016 GB, free: 5.602 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.7861, allocations: 12 kB / 1.016 GB, free: 5.59 MB / 0.6667 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.996e-05/0.7862, allocations: 117.4 kB / 1.016 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.7862, allocations: 7.906 kB / 1.016 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.7865, allocations: 89.77 kB / 1.016 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.7865, allocations: 4.078 kB / 1.016 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7865, allocations: 7.984 kB / 1.016 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7865, allocations: 7.922 kB / 1.016 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.7866, allocations: 158.1 kB / 1.016 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7866, allocations: 0 / 1.016 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.7868, allocations: 23.97 kB / 1.016 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7868, allocations: 0 / 1.016 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.7868, allocations: 8 kB / 1.016 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7868, allocations: 0 / 1.016 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7868, allocations: 0 / 1.016 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001847/0.787, allocations: 167.4 kB / 1.016 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002619/0.7873, allocations: 0.5504 MB / 1.017 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.7873, allocations: 81.02 kB / 1.017 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.7873, allocations: 4 kB / 1.017 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.7875, allocations: 15.98 kB / 1.017 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.7875, allocations: 3.984 kB / 1.017 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.7875, allocations: 8 kB / 1.017 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.303e-05/0.7876, allocations: 105.6 kB / 1.017 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007843/0.7884, allocations: 19.91 kB / 1.017 GB, free: 4.129 MB / 0.6667 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.0001313/0.7885, allocations: 95.25 kB / 1.017 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.7886, allocations: 55.92 kB / 1.017 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7886, allocations: 0 / 1.017 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.7887, allocations: 16.56 kB / 1.017 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.7888, allocations: 12 kB / 1.017 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.7891, allocations: 103.5 kB / 1.017 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.7895, allocations: 0.711 MB / 1.018 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.7895, allocations: 0 / 1.018 GB, free: 3.086 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1)