Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.1.4-maint.8.1.x/package.mo): time 1.359/1.359, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001126/0.001126, allocations: 172 kB / 366.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.055/1.055, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007839/0.0007839, allocations: 83.86 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1863/0.1871, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.5959, allocations: 116.3 MB / 0.9727 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.7551, allocations: 171.3 MB / 1.14 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.7554, allocations: 92.64 kB / 1.14 GB, free: 9.105 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.7342/1.49, allocations: 202.5 MB / 1.338 GB, free: 137 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/1.49, allocations: 8 kB / 1.338 GB, free: 137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005554/1.495, allocations: 1.034 MB / 1.339 GB, free: 136 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005268/1.501, allocations: 3.416 MB / 1.342 GB, free: 133.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/1.501, allocations: 180 kB / 1.342 GB, free: 133.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006166/1.501, allocations: 331.6 kB / 1.343 GB, free: 132.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007476/1.509, allocations: 5.637 MB / 1.348 GB, free: 129.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00922/1.518, allocations: 7.855 MB / 1.356 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/1.518, allocations: 27.72 kB / 1.356 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004781/1.519, allocations: 15.91 kB / 1.356 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/1.519, allocations: 335.2 kB / 1.356 GB, free: 123 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02732/1.546, allocations: 39.12 MB / 1.394 GB, free: 86.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/1.548, allocations: 2.158 MB / 1.396 GB, free: 84.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/1.55, allocations: 1.932 MB / 1.398 GB, free: 82.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-05/1.55, allocations: 18 kB / 1.398 GB, free: 82.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/1.55, allocations: 60.55 kB / 1.398 GB, free: 82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=179): time 3.557e-06/1.55, allocations: 0 / 1.398 GB, free: 82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=182): time 0.008287/1.558, allocations: 6.064 MB / 1.404 GB, free: 75.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/1.558, allocations: 73.31 kB / 1.404 GB, free: 75.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/1.56, allocations: 1.101 MB / 1.405 GB, free: 74.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/1.56, allocations: 25.7 kB / 1.406 GB, free: 74.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/1.56, allocations: 1.987 MB / 1.407 GB, free: 72.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/1.561, allocations: 0.6043 MB / 1.408 GB, free: 72.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/1.561, allocations: 0 / 1.408 GB, free: 72.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/1.561, allocations: 394.3 kB / 1.408 GB, free: 71.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/1.562, allocations: 1.176 MB / 1.41 GB, free: 70.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/1.563, allocations: 1.846 MB / 1.411 GB, free: 68.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/1.565, allocations: 1.532 MB / 1.413 GB, free: 66.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.565, allocations: 11.94 kB / 1.413 GB, free: 66.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005909/1.571, allocations: 4.422 MB / 1.417 GB, free: 62.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.571, allocations: 4 kB / 1.417 GB, free: 62.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/1.571, allocations: 20.91 kB / 1.417 GB, free: 62.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003446/1.574, allocations: 1.558 MB / 1.419 GB, free: 60.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.575, allocations: 339.4 kB / 1.419 GB, free: 60.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/1.591, allocations: 15.54 MB / 1.434 GB, free: 44.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.593, allocations: 47.95 kB / 1.434 GB, free: 44.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/1.593, allocations: 92 kB / 1.434 GB, free: 44.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002884/1.593, allocations: 168.3 kB / 1.435 GB, free: 44.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/1.594, allocations: 213.5 kB / 1.435 GB, free: 43.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005631/1.599, allocations: 4.082 MB / 1.439 GB, free: 39.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.599, allocations: 16 kB / 1.439 GB, free: 39.87 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/1.599, allocations: 16 kB / 1.439 GB, free: 39.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.599, allocations: 11.97 kB / 1.439 GB, free: 39.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/1.61, allocations: 8.088 MB / 1.447 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.61, allocations: 4 kB / 1.447 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/1.611, allocations: 151.8 kB / 1.447 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003403/1.614, allocations: 1.533 MB / 1.448 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/1.614, allocations: 4 kB / 1.448 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01597/1.63, allocations: 15.56 MB / 1.464 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/1.63, allocations: 8 kB / 1.464 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005679/1.636, allocations: 4.48 MB / 1.468 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005644/1.642, allocations: 4.923 MB / 1.473 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009781/1.643, allocations: 0.5219 MB / 1.473 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/1.643, allocations: 4 kB / 1.473 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009188/1.644, allocations: 35.86 kB / 1.473 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/1.644, allocations: 97.86 kB / 1.473 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.644, allocations: 44 kB / 1.473 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0009377/1.645, allocations: 0.81 MB / 1.474 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003385/1.649, allocations: 0.8983 MB / 1.475 GB, free: 1.812 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002196/1.649, allocations: 131 kB / 1.475 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006193/1.655, allocations: 4.009 MB / 1.479 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.655, allocations: 0 / 1.479 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004266/1.659, allocations: 2.49 MB / 1.482 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.662, allocations: 0.6052 MB / 1.482 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.676, allocations: 7.056 MB / 1.489 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004332/1.681, allocations: 3.695 MB / 1.493 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/1.681, allocations: 0 / 1.493 GB, free: 15.59 MB / 0.8698 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)