Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",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.0009818/0.0009817, allocations: 184.3 kB / 7.846 MB, free: 2.496 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.159/1.159, allocations: 221.4 MB / 229.7 MB, free: 3.02 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.0009203/0.0009203, allocations: 103.6 kB / 280.5 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03242/0.03242, allocations: 8.099 MB / 339.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.163/0.1954, allocations: 58.61 MB / 398 MB, free: 67.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.2769, allocations: 52.52 MB / 450.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2421/0.519, allocations: 77.48 MB / 0.5156 GB, free: 0.8672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/0.5192, allocations: 58.48 kB / 0.5157 GB, free: 0.8438 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.006278/0.5255, allocations: 2.555 MB / 0.5182 GB, free: 14.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5255, allocations: 11.94 kB / 0.5182 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.5256, allocations: 11.91 kB / 0.5182 GB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.5257, allocations: 170.9 kB / 0.5184 GB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.5257, allocations: 5.969 kB / 0.5184 GB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.5258, allocations: 4 kB / 0.5184 GB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/0.5259, allocations: 34.62 kB / 0.5184 GB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.526, allocations: 71.47 kB / 0.5185 GB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.526, allocations: 0 / 0.5185 GB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.526, allocations: 0 / 0.5185 GB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.526, allocations: 7.906 kB / 0.5185 GB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.5264, allocations: 318.5 kB / 0.5188 GB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.303e-05/0.5265, allocations: 30.33 kB / 0.5188 GB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.5265, allocations: 4.859 kB / 0.5188 GB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.5267, allocations: 81.17 kB / 0.5189 GB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.5267, allocations: 30.56 kB / 0.5189 GB, free: 13.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5267, allocations: 4 kB / 0.5189 GB, free: 13.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.5269, allocations: 44.59 kB / 0.519 GB, free: 13.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.5269, allocations: 55.41 kB / 0.519 GB, free: 13.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.527, allocations: 110.1 kB / 0.5191 GB, free: 13.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.527, allocations: 29.64 kB / 0.5191 GB, free: 13.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.5271, allocations: 115.1 kB / 0.5193 GB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.5271, allocations: 3.906 kB / 0.5193 GB, free: 13.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.5271, allocations: 0 / 0.5193 GB, free: 13.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5272, allocations: 318.2 kB / 0.5196 GB, free: 13.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.5272, allocations: 11.38 kB / 0.5196 GB, free: 13.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.5273, allocations: 11.42 kB / 0.5196 GB, free: 13.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.5273, allocations: 23.11 kB / 0.5196 GB, free: 13.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5273, allocations: 0 / 0.5196 GB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001286/0.5275, allocations: 59.56 kB / 0.5197 GB, free: 13.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.5275, allocations: 8 kB / 0.5197 GB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5275, allocations: 0 / 0.5197 GB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.5275, allocations: 3.906 kB / 0.5197 GB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.5276, allocations: 11.98 kB / 0.5197 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.5276, allocations: 4 kB / 0.5197 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.5277, allocations: 3.938 kB / 0.5197 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5277, allocations: 0 / 0.5197 GB, free: 13.11 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 6.928e-05/0.5278, allocations: 107.5 kB / 0.5198 GB, free: 13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.5278, allocations: 3.906 kB / 0.5198 GB, free: 13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.5279, allocations: 57.33 kB / 0.5199 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5279, allocations: 3.984 kB / 0.5199 GB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.528, allocations: 4 kB / 0.5199 GB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.528, allocations: 4.031 kB / 0.5199 GB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.5281, allocations: 145 kB / 0.52 GB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5281, allocations: 3.984 kB / 0.52 GB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.5281, allocations: 4 kB / 0.52 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5282, allocations: 0 / 0.52 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.5282, allocations: 0 / 0.52 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.5282, allocations: 0 / 0.52 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.5282, allocations: 0 / 0.52 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001212/0.5283, allocations: 146.8 kB / 0.5202 GB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002331/0.5285, allocations: 0.5067 MB / 0.5206 GB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.5286, allocations: 77.11 kB / 0.5207 GB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.5286, allocations: 0 / 0.5207 GB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.5287, allocations: 3.984 kB / 0.5207 GB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.5287, allocations: 7.969 kB / 0.5207 GB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5287, allocations: 4 kB / 0.5207 GB, free: 11.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.442e-05/0.5288, allocations: 93.59 kB / 0.5208 GB, free: 11.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007786/0.5295, allocations: 15.25 kB / 0.5208 GB, free: 11.87 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.5297, allocations: 103.2 kB / 0.5209 GB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.083e-05/0.5298, allocations: 22.56 kB / 0.521 GB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5298, allocations: 7.938 kB / 0.521 GB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.5298, allocations: 4 kB / 0.521 GB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.5299, allocations: 7.906 kB / 0.521 GB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.5301, allocations: 75.58 kB / 0.5211 GB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.5304, allocations: 0.7033 MB / 0.5217 GB, free: 10.9 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5304, allocations: 0 / 0.5217 GB, free: 10.9 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)