Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 289.8 MB / 297.1 MB, free: 6.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 177.3 kB / 366.3 MB, free: 2.047 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.2 MB / 0.6256 GB, free: 5.848 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 85.64 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2732/0.2742, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.9332, allocations: 116.3 MB / 0.9727 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/1.114, allocations: 138.3 MB / 1.108 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.114, allocations: 80.55 kB / 1.108 GB, free: 10.11 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01554/1.13, allocations: 5.063 MB / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.13, allocations: 8 kB / 1.113 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/1.13, allocations: 7.906 kB / 1.113 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/1.13, allocations: 163 kB / 1.113 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/1.13, allocations: 7.984 kB / 1.113 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/1.13, allocations: 3.906 kB / 1.113 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.191e-05/1.13, allocations: 23.92 kB / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.795e-05/1.13, allocations: 37.7 kB / 1.113 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.13, allocations: 4 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.13, allocations: 3.984 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/1.13, allocations: 4 kB / 1.113 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/1.131, allocations: 146.1 kB / 1.113 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.445e-05/1.131, allocations: 29.72 kB / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/1.131, allocations: 24.86 kB / 1.113 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/1.131, allocations: 461.5 kB / 1.114 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.131, allocations: 38.5 kB / 1.114 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/1.131, allocations: 4 kB / 1.114 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001034/1.132, allocations: 0.519 MB / 1.114 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/1.132, allocations: 51.41 kB / 1.114 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/1.133, allocations: 89 kB / 1.114 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/1.133, allocations: 29.7 kB / 1.114 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/1.133, allocations: 80.14 kB / 1.114 GB, free: 3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/1.133, allocations: 37.23 kB / 1.114 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/1.133, allocations: 0 / 1.114 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.133, allocations: 322.8 kB / 1.115 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.311e-05/1.133, allocations: 16 kB / 1.115 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/1.133, allocations: 19.62 kB / 1.115 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.178e-05/1.133, allocations: 23.98 kB / 1.115 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/1.133, allocations: 0 / 1.115 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001816/1.133, allocations: 93.53 kB / 1.115 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.133, allocations: 8 kB / 1.115 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.133, allocations: 0 / 1.115 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/1.133, allocations: 0 / 1.115 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/1.133, allocations: 27.98 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/1.133, allocations: 0 / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/1.133, allocations: 0 / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/1.133, allocations: 4 kB / 1.115 GB, free: 2.449 MB / 0.7136 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 (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 8.667e-05/1.133, allocations: 109.2 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/1.133, allocations: 8 kB / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/1.134, allocations: 105.9 kB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/1.134, allocations: 0 / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.134, allocations: 4 kB / 1.115 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.134, allocations: 0 / 1.115 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/1.134, allocations: 319.2 kB / 1.115 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.134, allocations: 0 / 1.115 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/1.134, allocations: 24.66 kB / 1.115 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.134, allocations: 0 / 1.115 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.134, allocations: 4 kB / 1.116 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.134, allocations: 3.984 kB / 1.116 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.134, allocations: 8 kB / 1.116 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002779/1.135, allocations: 199.6 kB / 1.116 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004124/1.135, allocations: 0.6063 MB / 1.116 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/1.135, allocations: 92.98 kB / 1.116 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/1.135, allocations: 0.8438 kB / 1.116 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/1.135, allocations: 7.984 kB / 1.116 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/1.135, allocations: 0 / 1.116 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/1.135, allocations: 8 kB / 1.116 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.707e-05/1.135, allocations: 83.27 kB / 1.116 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009069/1.136, allocations: 47.84 kB / 1.117 GB, free: 0.7266 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002729/1.137, allocations: 167.1 kB / 1.117 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001163/1.137, allocations: 59.77 kB / 1.117 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.137, allocations: 4 kB / 1.117 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/1.137, allocations: 28.5 kB / 1.117 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/1.137, allocations: 2.578 kB / 1.117 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/1.137, allocations: 124.5 kB / 1.117 GB, free: 332 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/1.138, allocations: 0.7042 MB / 1.118 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/1.138, allocations: 4 kB / 1.118 GB, free: 15.59 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)