Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.736/0.736, allocations: 141.8 MB / 149.1 MB, free: 13.25 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.001083/0.001083, allocations: 190.8 kB / 181.9 MB, free: 9.934 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.193/1.193, allocations: 221.3 MB / 436 MB, free: 2.383 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.0009295/0.0009295, allocations: 93.39 kB / 0.507 GB, free: 11.13 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 278.2 kB / 0.5884 GB, free: 7.957 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1692/0.171, allocations: 89.66 MB / 0.676 GB, free: 14.21 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.4917, allocations: 82.77 MB / 0.7568 GB, free: 139.2 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.5959, allocations: 108 MB / 0.8623 GB, free: 31.05 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.5961, allocations: 80.69 kB / 0.8624 GB, free: 30.98 MB / 0.5575 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.01326/0.6094, allocations: 5.084 MB / 0.8673 GB, free: 25.87 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6094, allocations: 12 kB / 0.8673 GB, free: 25.86 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.6095, allocations: 5.156 kB / 0.8673 GB, free: 25.86 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.771e-05/0.6096, allocations: 167 kB / 0.8675 GB, free: 25.65 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.6096, allocations: 0 / 0.8675 GB, free: 25.65 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.6096, allocations: 9.281 kB / 0.8675 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.921e-05/0.6097, allocations: 15.98 kB / 0.8675 GB, free: 25.63 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.152e-05/0.6098, allocations: 49.59 kB / 0.8676 GB, free: 25.57 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.6098, allocations: 0.5938 kB / 0.8676 GB, free: 25.57 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.6098, allocations: 0 / 0.8676 GB, free: 25.57 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.6098, allocations: 1.219 kB / 0.8676 GB, free: 25.57 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.61, allocations: 138.2 kB / 0.8677 GB, free: 25.4 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.784e-05/0.61, allocations: 38.98 kB / 0.8678 GB, free: 25.36 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.6101, allocations: 24.77 kB / 0.8678 GB, free: 25.33 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005122/0.6106, allocations: 463 kB / 0.8682 GB, free: 24.79 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.6106, allocations: 39.95 kB / 0.8683 GB, free: 24.75 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.6107, allocations: 4 kB / 0.8683 GB, free: 24.74 MB / 0.5575 GB Notification: Performance of matching and sorting (n=11): time 0.0009305/0.6116, allocations: 0.5191 MB / 0.8688 GB, free: 24.14 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.6116, allocations: 51.5 kB / 0.8688 GB, free: 24.07 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.746e-05/0.6117, allocations: 97.42 kB / 0.8689 GB, free: 23.97 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.6117, allocations: 30.27 kB / 0.8689 GB, free: 23.94 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.32e-05/0.6117, allocations: 80.67 kB / 0.869 GB, free: 23.86 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.6117, allocations: 35.38 kB / 0.869 GB, free: 23.82 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.6118, allocations: 0.8125 kB / 0.869 GB, free: 23.82 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 3.906e-05/0.6118, allocations: 319.5 kB / 0.8694 GB, free: 23.5 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.6118, allocations: 20 kB / 0.8694 GB, free: 23.48 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.6119, allocations: 17.75 kB / 0.8694 GB, free: 23.46 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.612, allocations: 27.98 kB / 0.8694 GB, free: 23.44 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.612, allocations: 0 / 0.8694 GB, free: 23.44 MB / 0.5575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001907/0.6122, allocations: 89.53 kB / 0.8695 GB, free: 23.34 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.6122, allocations: 8 kB / 0.8695 GB, free: 23.34 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6122, allocations: 0 / 0.8695 GB, free: 23.34 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6122, allocations: 0 / 0.8695 GB, free: 23.34 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.6124, allocations: 23.98 kB / 0.8695 GB, free: 23.31 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.6124, allocations: 0 / 0.8695 GB, free: 23.31 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.6124, allocations: 0 / 0.8695 GB, free: 23.31 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.6124, allocations: 8 kB / 0.8695 GB, free: 23.3 MB / 0.5575 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 5.251e-05/0.6125, allocations: 104.9 kB / 0.8696 GB, free: 23.2 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.6125, allocations: 7.906 kB / 0.8696 GB, free: 23.19 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.6128, allocations: 97.66 kB / 0.8697 GB, free: 23.09 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.6128, allocations: 0 / 0.8697 GB, free: 23.09 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6128, allocations: 7.938 kB / 0.8697 GB, free: 23.08 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.6128, allocations: 3.906 kB / 0.8697 GB, free: 23.07 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.6132, allocations: 320.2 kB / 0.8701 GB, free: 22.72 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6132, allocations: 0 / 0.8701 GB, free: 22.72 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.6133, allocations: 27.98 kB / 0.8701 GB, free: 22.69 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6133, allocations: 7.938 kB / 0.8701 GB, free: 22.68 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.6134, allocations: 0 / 0.8701 GB, free: 22.68 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6134, allocations: 3.906 kB / 0.8701 GB, free: 22.68 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6134, allocations: 4 kB / 0.8701 GB, free: 22.68 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002601/0.6136, allocations: 206.1 kB / 0.8703 GB, free: 22.46 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003105/0.614, allocations: 0.6015 MB / 0.8709 GB, free: 21.84 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.614, allocations: 93 kB / 0.871 GB, free: 21.73 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.614, allocations: 0 / 0.871 GB, free: 21.73 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.6142, allocations: 4 kB / 0.871 GB, free: 21.73 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.6142, allocations: 0 / 0.871 GB, free: 21.73 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.6142, allocations: 7.984 kB / 0.871 GB, free: 21.72 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.414e-05/0.6143, allocations: 79.28 kB / 0.8711 GB, free: 21.64 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.001143/0.6154, allocations: 56 kB / 0.8711 GB, free: 21.59 MB / 0.5575 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.0002791/0.6157, allocations: 159 kB / 0.8713 GB, free: 21.42 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.6159, allocations: 52.16 kB / 0.8713 GB, free: 21.37 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6159, allocations: 4 kB / 0.8713 GB, free: 21.37 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/0.6159, allocations: 31.94 kB / 0.8713 GB, free: 21.34 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.6161, allocations: 3.906 kB / 0.8713 GB, free: 21.33 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.6165, allocations: 122 kB / 0.8715 GB, free: 21.19 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.6167, allocations: 0.7036 MB / 0.8722 GB, free: 20.46 MB / 0.5575 GB Notification: Performance of SimCode: time 2.8e-07/0.6167, allocations: 0 / 0.8722 GB, free: 20.46 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)