Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",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.001935/0.001935, allocations: 192.8 kB / 7.846 MB, free: 2.492 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.256/1.256, allocations: 221.4 MB / 229.7 MB, free: 3.145 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.0009348/0.0009347, allocations: 88.55 kB / 280.5 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03538/0.03538, allocations: 8.097 MB / 339.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.176/0.2114, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07944/0.2909, allocations: 52.51 MB / 450.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/0.535, allocations: 78.03 MB / 0.5162 GB, free: 100 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001639/0.5352, allocations: 67.56 kB / 0.5162 GB, free: 68 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.01135/0.5466, allocations: 4.917 MB / 0.521 GB, free: 12.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.5466, allocations: 15.94 kB / 0.521 GB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.5467, allocations: 11.81 kB / 0.521 GB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.5469, allocations: 204.3 kB / 0.5212 GB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.5469, allocations: 4 kB / 0.5212 GB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.5469, allocations: 11.91 kB / 0.5213 GB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001817/0.5471, allocations: 113.8 kB / 0.5214 GB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.5473, allocations: 129.7 kB / 0.5215 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.5473, allocations: 0 / 0.5215 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.5474, allocations: 0 / 0.5215 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5474, allocations: 4 kB / 0.5215 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.548, allocations: 0.4956 MB / 0.522 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.5482, allocations: 91.52 kB / 0.5221 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.5483, allocations: 38.86 kB / 0.5221 GB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.5484, allocations: 89.56 kB / 0.5222 GB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.5484, allocations: 38.25 kB / 0.5222 GB, free: 11.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.5484, allocations: 0 / 0.5222 GB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006058/0.5491, allocations: 174.8 kB / 0.5224 GB, free: 10.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.5491, allocations: 55.39 kB / 0.5224 GB, free: 10.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.5492, allocations: 111.3 kB / 0.5226 GB, free: 10.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.5492, allocations: 25.7 kB / 0.5226 GB, free: 10.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.5493, allocations: 130.2 kB / 0.5227 GB, free: 10.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.5493, allocations: 30.86 kB / 0.5227 GB, free: 10.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.5493, allocations: 0 / 0.5227 GB, free: 10.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.714e-05/0.5494, allocations: 314.2 kB / 0.523 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.5494, allocations: 29.88 kB / 0.5231 GB, free: 10.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.5495, allocations: 42.89 kB / 0.5231 GB, free: 10.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.5496, allocations: 41.27 kB / 0.5231 GB, free: 10.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5496, allocations: 0 / 0.5231 GB, free: 10.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005039/0.5501, allocations: 172.1 kB / 0.5233 GB, free: 10 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5502, allocations: 8.031 kB / 0.5233 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5502, allocations: 0 / 0.5233 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/0.5506, allocations: 77.94 kB / 0.5234 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.5507, allocations: 8 kB / 0.5234 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.5523, allocations: 1.489 MB / 0.5248 GB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.5524, allocations: 7.938 kB / 0.5249 GB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.5524, allocations: 0.5625 kB / 0.5249 GB, free: 8.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.979e-05/0.5525, allocations: 111.4 kB / 0.525 GB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.5526, allocations: 8.656 kB / 0.525 GB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.5532, allocations: 209.3 kB / 0.5252 GB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5532, allocations: 7.844 kB / 0.5252 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5532, allocations: 0 / 0.5252 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5532, allocations: 0 / 0.5252 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.5534, allocations: 192.8 kB / 0.5254 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5534, allocations: 0 / 0.5254 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.5535, allocations: 8.875 kB / 0.5254 GB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/0.5538, allocations: 76.33 kB / 0.5254 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5538, allocations: 0.75 kB / 0.5254 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.5554, allocations: 1.475 MB / 0.5269 GB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5554, allocations: 4.078 kB / 0.5269 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005501/0.556, allocations: 286.5 kB / 0.5272 GB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006077/0.5566, allocations: 0.6422 MB / 0.5278 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.5566, allocations: 92.91 kB / 0.5279 GB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.5567, allocations: 3.984 kB / 0.5279 GB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.5568, allocations: 0 / 0.5279 GB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.5568, allocations: 8 kB / 0.5279 GB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.5568, allocations: 11.88 kB / 0.5279 GB, free: 5.355 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.688e-05/0.5569, allocations: 97.7 kB / 0.528 GB, free: 5.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008417/0.5577, allocations: 43.72 kB / 0.528 GB, free: 5.227 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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.5579, allocations: 111.2 kB / 0.5281 GB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.5585, allocations: 217.4 kB / 0.5283 GB, free: 4.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5585, allocations: 0 / 0.5283 GB, free: 4.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.5588, allocations: 186.1 kB / 0.5285 GB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.559, allocations: 2.938 kB / 0.5285 GB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.5594, allocations: 148.3 kB / 0.5287 GB, free: 4.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.5597, allocations: 0.7185 MB / 0.5294 GB, free: 3.836 MB / 346.7 MB Notification: Performance of SimCode: time 1.844e-06/0.5597, allocations: 4 kB / 0.5294 GB, free: 3.832 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)