Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.0009539/0.0009539, 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.13/1.13, allocations: 221.4 MB / 229.7 MB, free: 3.344 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.0009294/0.0009295, allocations: 92.34 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.03691/0.03691, allocations: 8.093 MB / 339.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1746/0.2115, allocations: 58.62 MB / 398 MB, free: 67.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07878/0.2903, allocations: 52.51 MB / 450.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2456/0.536, allocations: 78.05 MB / 0.5162 GB, free: 36 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001619/0.5362, allocations: 60.41 kB / 0.5162 GB, free: 8 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.01186/0.5481, allocations: 4.943 MB / 0.5211 GB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5482, allocations: 11.94 kB / 0.5211 GB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.5482, allocations: 19.8 kB / 0.5211 GB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.5485, allocations: 202.2 kB / 0.5213 GB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.5486, allocations: 11.98 kB / 0.5213 GB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.5486, allocations: 7.906 kB / 0.5213 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002374/0.5488, allocations: 104.9 kB / 0.5214 GB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.5491, allocations: 133.5 kB / 0.5215 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.5491, allocations: 0 / 0.5215 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.5491, allocations: 0 / 0.5215 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5492, allocations: 4 kB / 0.5215 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.55, allocations: 0.4961 MB / 0.522 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.5502, allocations: 92.12 kB / 0.5221 GB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.5503, allocations: 42.91 kB / 0.5221 GB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.5505, allocations: 85.64 kB / 0.5222 GB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5505, allocations: 31.94 kB / 0.5223 GB, free: 10.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.5505, allocations: 4 kB / 0.5223 GB, free: 10.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006803/0.5512, allocations: 175.3 kB / 0.5224 GB, free: 10.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.5512, allocations: 59.34 kB / 0.5225 GB, free: 10.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.739e-05/0.5514, allocations: 111.5 kB / 0.5226 GB, free: 10.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.5514, allocations: 29.69 kB / 0.5226 GB, free: 10.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.5515, allocations: 124.8 kB / 0.5227 GB, free: 10.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.5515, allocations: 33.98 kB / 0.5228 GB, free: 10.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.5515, allocations: 0 / 0.5228 GB, free: 10.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5516, allocations: 322 kB / 0.5231 GB, free: 10.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.5517, allocations: 21.44 kB / 0.5231 GB, free: 10.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.5518, allocations: 42.83 kB / 0.5231 GB, free: 10.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.5519, allocations: 37.72 kB / 0.5232 GB, free: 10.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5519, allocations: 0 / 0.5232 GB, free: 10.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005576/0.5525, allocations: 175.3 kB / 0.5233 GB, free: 9.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5525, allocations: 6.969 kB / 0.5233 GB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5525, allocations: 0 / 0.5233 GB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004487/0.553, allocations: 78.08 kB / 0.5234 GB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.5531, allocations: 8 kB / 0.5234 GB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.5548, allocations: 1.467 MB / 0.5249 GB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.5549, allocations: 8 kB / 0.5249 GB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.5549, allocations: 4 kB / 0.5249 GB, free: 8.375 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 8.861e-05/0.555, allocations: 105.8 kB / 0.525 GB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.5551, allocations: 7.906 kB / 0.525 GB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006127/0.5557, allocations: 206 kB / 0.5252 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.5557, allocations: 7.906 kB / 0.5252 GB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5557, allocations: 0 / 0.5252 GB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5557, allocations: 0 / 0.5252 GB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.5559, allocations: 184.5 kB / 0.5254 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5559, allocations: 0 / 0.5254 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.556, allocations: 15.94 kB / 0.5254 GB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.5564, allocations: 81.8 kB / 0.5255 GB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.5564, allocations: 0 / 0.5255 GB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.5579, allocations: 1.458 MB / 0.5269 GB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5579, allocations: 0 / 0.5269 GB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005814/0.5585, allocations: 288 kB / 0.5272 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006341/0.5591, allocations: 0.6452 MB / 0.5278 GB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.5592, allocations: 92.84 kB / 0.5279 GB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.5592, allocations: 11.94 kB / 0.5279 GB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.5593, allocations: 0 / 0.5279 GB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.5594, allocations: 0 / 0.5279 GB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.5594, allocations: 7.984 kB / 0.5279 GB, free: 5.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.431e-05/0.5594, allocations: 93.72 kB / 0.528 GB, free: 5.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008829/0.5603, allocations: 39.41 kB / 0.528 GB, free: 5.199 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.0001803/0.5605, allocations: 119.1 kB / 0.5281 GB, free: 5.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004839/0.561, allocations: 210 kB / 0.5283 GB, free: 4.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.561, allocations: 2.875 kB / 0.5283 GB, free: 4.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.5614, allocations: 170.7 kB / 0.5285 GB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.5615, allocations: 3.938 kB / 0.5285 GB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.5619, allocations: 146.1 kB / 0.5286 GB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.5622, allocations: 0.7299 MB / 0.5294 GB, free: 3.812 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5622, allocations: 0 / 0.5294 GB, free: 3.812 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)