Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.34/1.34, allocations: 285.5 MB / 292.8 MB, free: 9.84 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009417/0.0009417, allocations: 189.2 kB / 361.1 MB, free: 356 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.049/1.049, allocations: 205.2 MB / 0.6195 GB, free: 2.945 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007894/0.0007894, allocations: 100.8 kB / 0.7326 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3571/0.3579, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.5015, allocations: 115.3 MB / 0.9638 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4571/0.9586, allocations: 206.2 MB / 1.165 GB, free: 28.35 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.9589, allocations: 97.48 kB / 1.165 GB, free: 28.35 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.1784/1.137, allocations: 85.12 MB / 1.248 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/1.137, allocations: 8 kB / 1.248 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/1.148, allocations: 1.52 MB / 1.25 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/1.15, allocations: 1.241 MB / 1.251 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/1.15, allocations: 36 kB / 1.251 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/1.151, allocations: 71.98 kB / 1.251 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002839/1.153, allocations: 1.762 MB / 1.253 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/1.157, allocations: 2.114 MB / 1.255 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.157, allocations: 7.938 kB / 1.255 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/1.157, allocations: 4 kB / 1.255 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.722e-05/1.157, allocations: 86.28 kB / 1.255 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/1.17, allocations: 10.33 MB / 1.265 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/1.173, allocations: 1.657 MB / 1.267 GB, free: 9 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.174, allocations: 0.909 MB / 1.268 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-05/1.174, allocations: 8.781 kB / 1.268 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/1.174, allocations: 43.34 kB / 1.268 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=89): time 2.324e-06/1.174, allocations: 0 / 1.268 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of matching and sorting (n=131): time 0.01276/1.187, allocations: 5.803 MB / 1.273 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/1.187, allocations: 222.9 kB / 1.274 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/1.188, allocations: 0.7624 MB / 1.274 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/1.188, allocations: 25.7 kB / 1.274 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/1.188, allocations: 0.5269 MB / 1.275 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/1.188, allocations: 433.4 kB / 1.275 GB, free: 140 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.189, allocations: 0 / 1.275 GB, free: 140 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.189, allocations: 353.9 kB / 1.276 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/1.19, allocations: 0.9709 MB / 1.277 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/1.191, allocations: 1.223 MB / 1.278 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/1.193, allocations: 1.107 MB / 1.279 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.193, allocations: 4 kB / 1.279 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00797/1.201, allocations: 3.684 MB / 1.282 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.201, allocations: 4 kB / 1.282 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.201, allocations: 8.031 kB / 1.282 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006343/1.207, allocations: 1.572 MB / 1.284 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.209, allocations: 359.5 kB / 1.284 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/1.231, allocations: 23.33 MB / 1.307 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/1.234, allocations: 203.7 kB / 1.307 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/1.234, allocations: 55.97 kB / 1.307 GB, free: 13.59 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003507/1.234, allocations: 136.7 kB / 1.308 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/1.235, allocations: 150.2 kB / 1.308 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008384/1.243, allocations: 3.786 MB / 1.311 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.243, allocations: 12 kB / 1.311 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/1.243, allocations: 16 kB / 1.311 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.243, allocations: 7.969 kB / 1.311 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.255, allocations: 6.023 MB / 1.317 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-06/1.255, allocations: 7.875 kB / 1.317 GB, free: 3.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.257, allocations: 311.9 kB / 1.318 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005969/1.263, allocations: 1.466 MB / 1.319 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.263, allocations: 23.97 kB / 1.319 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02084/1.284, allocations: 22.35 MB / 1.341 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.284, allocations: 7.938 kB / 1.341 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007587/1.291, allocations: 3.661 MB / 1.344 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007467/1.299, allocations: 4.072 MB / 1.348 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009427/1.3, allocations: 455.2 kB / 1.349 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.3, allocations: 8 kB / 1.349 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.302, allocations: 207.8 kB / 1.349 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.302, allocations: 80.81 kB / 1.349 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.302, allocations: 47.97 kB / 1.349 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007856/1.303, allocations: 0.5762 MB / 1.35 GB, free: 136 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002521/1.306, allocations: 0.5156 MB / 1.35 GB, free: 15.62 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003276/1.306, allocations: 138.8 kB / 1.35 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006091/1.312, allocations: 4.053 MB / 1.354 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.312, allocations: 4 kB / 1.354 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004371/1.317, allocations: 2.853 MB / 1.357 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/1.318, allocations: 418.5 kB / 1.358 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006645/1.325, allocations: 2.924 MB / 1.36 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/1.327, allocations: 1.565 MB / 1.362 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/1.327, allocations: 0 / 1.362 GB, free: 3.301 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)