Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.conf.json 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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",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/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 188.3 kB / 7.847 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.14/1.14, allocations: 221.4 MB / 229.7 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.0009108, allocations: 100.6 kB / 280.5 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03704/0.03704, allocations: 8.099 MB / 339.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1714/0.2084, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.2956, allocations: 52.51 MB / 450.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2356/0.5312, allocations: 77.25 MB / 0.5154 GB, free: 1.109 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.5315, allocations: 59.84 kB / 0.5154 GB, free: 1.082 MB / 330.7 MB 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.007058/0.5385, allocations: 2.921 MB / 0.5183 GB, free: 14.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5386, allocations: 11.94 kB / 0.5183 GB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.5386, allocations: 11.84 kB / 0.5183 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.5388, allocations: 175 kB / 0.5185 GB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5388, allocations: 0 / 0.5185 GB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.5388, allocations: 7.984 kB / 0.5185 GB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000118/0.5389, allocations: 62.89 kB / 0.5186 GB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.539, allocations: 68.31 kB / 0.5186 GB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5391, allocations: 0 / 0.5186 GB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5391, allocations: 3.938 kB / 0.5186 GB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5391, allocations: 2.844 kB / 0.5186 GB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.5395, allocations: 319.8 kB / 0.5189 GB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.532e-05/0.5396, allocations: 45.95 kB / 0.519 GB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.5397, allocations: 12.55 kB / 0.519 GB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.5398, allocations: 85.08 kB / 0.5191 GB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.5398, allocations: 34.56 kB / 0.5191 GB, free: 13.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.5398, allocations: 0 / 0.5191 GB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001966/0.54, allocations: 59.95 kB / 0.5192 GB, free: 13.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.5401, allocations: 58.66 kB / 0.5192 GB, free: 13.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.332e-05/0.5401, allocations: 96 kB / 0.5193 GB, free: 13.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.5401, allocations: 25.7 kB / 0.5193 GB, free: 13.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.5402, allocations: 106.8 kB / 0.5194 GB, free: 13.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.5402, allocations: 22.41 kB / 0.5195 GB, free: 13.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.5402, allocations: 0 / 0.5195 GB, free: 13.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.5403, allocations: 314.8 kB / 0.5198 GB, free: 13.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.5404, allocations: 7.562 kB / 0.5198 GB, free: 13.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.5404, allocations: 15 kB / 0.5198 GB, free: 13.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.022e-05/0.5405, allocations: 22.3 kB / 0.5198 GB, free: 13.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5405, allocations: 0 / 0.5198 GB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001233/0.5406, allocations: 59.12 kB / 0.5199 GB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5406, allocations: 10.88 kB / 0.5199 GB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5406, allocations: 0 / 0.5199 GB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.5407, allocations: 0 / 0.5199 GB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.5407, allocations: 11.98 kB / 0.5199 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.5408, allocations: 0 / 0.5199 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.5408, allocations: 256 / 0.5199 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5408, allocations: 6.188 kB / 0.5199 GB, free: 13.08 MB / 346.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 (5): * Single equations (assignments): 5 * 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.39e-05/0.5409, allocations: 105.9 kB / 0.52 GB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.5409, allocations: 7.906 kB / 0.52 GB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.5411, allocations: 79.55 kB / 0.5201 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.5411, allocations: 4 kB / 0.5201 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5411, allocations: 3.984 kB / 0.5201 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5411, allocations: 3.906 kB / 0.5201 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.5413, allocations: 152.8 kB / 0.5202 GB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5413, allocations: 4 kB / 0.5202 GB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.5413, allocations: 11.31 kB / 0.5202 GB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5413, allocations: 0 / 0.5202 GB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.5413, allocations: 0 / 0.5202 GB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5414, allocations: 0 / 0.5202 GB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5414, allocations: 0 / 0.5202 GB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001657/0.5415, allocations: 165.8 kB / 0.5204 GB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002607/0.5418, allocations: 0.5378 MB / 0.5209 GB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.5418, allocations: 85 kB / 0.521 GB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.5419, allocations: 0 / 0.521 GB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.5419, allocations: 0 / 0.521 GB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.542, allocations: 7.984 kB / 0.521 GB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.542, allocations: 3.938 kB / 0.521 GB, free: 11.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.303e-05/0.542, allocations: 82.03 kB / 0.5211 GB, free: 11.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008476/0.5429, allocations: 27.34 kB / 0.5211 GB, free: 11.77 MB / 346.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 (6): * Single equations (assignments): 6 * 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.0001385/0.543, allocations: 107.4 kB / 0.5212 GB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.5431, allocations: 34.19 kB / 0.5213 GB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5431, allocations: 0 / 0.5213 GB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.5431, allocations: 19.44 kB / 0.5213 GB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.5433, allocations: 8 kB / 0.5213 GB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.5435, allocations: 101.6 kB / 0.5214 GB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.5438, allocations: 0.6997 MB / 0.5221 GB, free: 10.77 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5438, allocations: 0 / 0.5221 GB, free: 10.77 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)