Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",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/BuildSysPro 3.5.0/package.mo): time 0.6967/0.6967, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 185.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 399.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009674/0.0009674, allocations: 88.56 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2595/0.2605, allocations: 82.89 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.4107, allocations: 76.76 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.8301, allocations: 101.1 MB / 0.7197 GB, free: 11.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.8304, allocations: 79.95 kB / 0.7198 GB, free: 11.18 MB / 490.7 MB 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.002692/0.8331, allocations: 0.9886 MB / 0.7208 GB, free: 10.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.8331, allocations: 8.969 kB / 0.7208 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.8332, allocations: 0 / 0.7208 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.8333, allocations: 167.1 kB / 0.7209 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.8333, allocations: 0.6562 kB / 0.7209 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.8334, allocations: 4 kB / 0.7209 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.213e-05/0.8334, allocations: 15.83 kB / 0.721 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.119e-05/0.8335, allocations: 33.69 kB / 0.721 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.8336, allocations: 0 / 0.721 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.8336, allocations: 0 / 0.721 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.8336, allocations: 2.078 kB / 0.721 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.8337, allocations: 126.2 kB / 0.7211 GB, free: 9.727 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.415e-05/0.8338, allocations: 34.61 kB / 0.7211 GB, free: 9.684 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.8339, allocations: 13.95 kB / 0.7212 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/0.8343, allocations: 405.6 kB / 0.7215 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.8343, allocations: 34.5 kB / 0.7216 GB, free: 9.137 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.8343, allocations: 0 / 0.7216 GB, free: 9.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001578/0.8345, allocations: 49.59 kB / 0.7216 GB, free: 9.082 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.8345, allocations: 51.41 kB / 0.7217 GB, free: 9.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.16e-05/0.8345, allocations: 85 kB / 0.7217 GB, free: 8.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.8346, allocations: 25.7 kB / 0.7218 GB, free: 8.898 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.8346, allocations: 80.14 kB / 0.7219 GB, free: 8.816 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.8346, allocations: 7.906 kB / 0.7219 GB, free: 8.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.8346, allocations: 0 / 0.7219 GB, free: 8.809 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.8347, allocations: 314.8 kB / 0.7222 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.8347, allocations: 8 kB / 0.7222 GB, free: 8.484 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-06/0.8348, allocations: 4 kB / 0.7222 GB, free: 8.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.8348, allocations: 7.984 kB / 0.7222 GB, free: 8.473 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8348, allocations: 0 / 0.7222 GB, free: 8.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.664e-05/0.8349, allocations: 49.48 kB / 0.7222 GB, free: 8.418 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.8349, allocations: 8 kB / 0.7222 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.8349, allocations: 0 / 0.7222 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.835, allocations: 0 / 0.7222 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.8351, allocations: 11.98 kB / 0.7222 GB, free: 8.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004284/0.8355, allocations: 0.5923 MB / 0.7228 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.8356, allocations: 0 / 0.7228 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.8356, allocations: 0 / 0.7228 GB, free: 7.785 MB / 490.7 MB 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.745e-05/0.8357, allocations: 105 kB / 0.7229 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.8357, allocations: 4.031 kB / 0.7229 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.8358, allocations: 49.78 kB / 0.723 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.8358, allocations: 8.234 kB / 0.723 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8359, allocations: 2.812 kB / 0.723 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.8359, allocations: 3.984 kB / 0.723 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.182e-05/0.836, allocations: 126.2 kB / 0.7231 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.836, allocations: 0 / 0.7231 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.8361, allocations: 11.98 kB / 0.7231 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8361, allocations: 0 / 0.7231 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.8361, allocations: 4 kB / 0.7231 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003382/0.8364, allocations: 0.5859 MB / 0.7237 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8364, allocations: 3.984 kB / 0.7237 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.977e-05/0.8365, allocations: 73 kB / 0.7238 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002082/0.8368, allocations: 441.5 kB / 0.7242 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.8368, allocations: 85.11 kB / 0.7243 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.8368, allocations: 0 / 0.7243 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.8369, allocations: 8 kB / 0.7243 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.8369, allocations: 0 / 0.7243 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.8369, allocations: 0 / 0.7243 GB, free: 6.164 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.808e-05/0.8369, allocations: 75.28 kB / 0.7244 GB, free: 6.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000752/0.8377, allocations: 11.92 kB / 0.7244 GB, free: 6.078 MB / 490.7 MB 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002019/0.8379, allocations: 107.2 kB / 0.7245 GB, free: 5.965 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.8381, allocations: 23.98 kB / 0.7245 GB, free: 5.941 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8381, allocations: 0 / 0.7245 GB, free: 5.941 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.322e-05/0.8382, allocations: 16 kB / 0.7245 GB, free: 5.926 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.679e-05/0.8383, allocations: 15.02 kB / 0.7245 GB, free: 5.914 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.8385, allocations: 55.84 kB / 0.7246 GB, free: 5.836 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.8388, allocations: 0.6876 MB / 0.7252 GB, free: 5.125 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8388, allocations: 0 / 0.7252 GB, free: 5.125 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)