Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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) 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) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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 10.0.0-master/package.mo): time 1.814/1.814, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009734/0.0009737, allocations: 181.2 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000874/0.000874, allocations: 87.61 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4354/0.4363, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.6204, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5069/1.127, allocations: 179.9 MB / 1.387 GB, free: 16.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/1.128, allocations: 89.75 kB / 1.387 GB, free: 16.23 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.1679/1.295, allocations: 77.84 MB / 1.463 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/1.295, allocations: 8 kB / 1.463 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/1.298, allocations: 473.2 kB / 1.464 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/1.3, allocations: 1.305 MB / 1.465 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/1.3, allocations: 48 kB / 1.465 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/1.3, allocations: 91.89 kB / 1.465 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003565/1.304, allocations: 2.345 MB / 1.468 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004491/1.308, allocations: 2.966 MB / 1.47 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/1.308, allocations: 7.484 kB / 1.47 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/1.309, allocations: 4 kB / 1.47 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005798/1.309, allocations: 184.8 kB / 1.471 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/1.328, allocations: 14.71 MB / 1.485 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/1.331, allocations: 1.737 MB / 1.487 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/1.333, allocations: 1.546 MB / 1.488 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/1.333, allocations: 16.97 kB / 1.488 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/1.333, allocations: 51.55 kB / 1.488 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=104): time 2.825e-06/1.333, allocations: 3.938 kB / 1.488 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183): time 0.03979/1.372, allocations: 14.16 MB / 1.502 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/1.372, allocations: 69.41 kB / 1.502 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.374, allocations: 1.004 MB / 1.503 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002454/1.374, allocations: 25.7 kB / 1.503 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/1.374, allocations: 0.6624 MB / 1.504 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00051/1.375, allocations: 0.5965 MB / 1.504 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/1.375, allocations: 0 / 1.504 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.375, allocations: 385.9 kB / 1.505 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/1.378, allocations: 2.147 MB / 1.507 GB, free: 9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/1.381, allocations: 2.47 MB / 1.509 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005235/1.386, allocations: 2.929 MB / 1.512 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.386, allocations: 0 / 1.512 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01767/1.404, allocations: 8.774 MB / 1.521 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.404, allocations: 4 kB / 1.521 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/1.404, allocations: 8 kB / 1.521 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01499/1.419, allocations: 4.993 MB / 1.526 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.42, allocations: 243.6 kB / 1.526 GB, free: 5.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03125/1.451, allocations: 21.57 MB / 1.547 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/1.453, allocations: 67.81 kB / 1.547 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004787/1.454, allocations: 267.8 kB / 1.547 GB, free: 15.23 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004438/1.454, allocations: 133.8 kB / 1.547 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/1.455, allocations: 138.4 kB / 1.547 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/1.471, allocations: 8.344 MB / 1.556 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.471, allocations: 16 kB / 1.556 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.471, allocations: 19.94 kB / 1.556 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/1.471, allocations: 11.91 kB / 1.556 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/1.492, allocations: 12.75 MB / 1.568 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/1.492, allocations: 4 kB / 1.568 GB, free: 9.645 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/1.493, allocations: 119.8 kB / 1.568 GB, free: 9.527 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01416/1.507, allocations: 4.767 MB / 1.573 GB, free: 4.75 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/1.507, allocations: 67.88 kB / 1.573 GB, free: 4.684 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02792/1.535, allocations: 18.49 MB / 1.591 GB, free: 1.891 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.535, allocations: 4 kB / 1.591 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01503/1.55, allocations: 7.903 MB / 1.599 GB, free: 9.812 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01501/1.565, allocations: 8.305 MB / 1.607 GB, free: 1.328 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/1.567, allocations: 0.8231 MB / 1.608 GB, free: 496 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005178/1.567, allocations: 7.984 kB / 1.608 GB, free: 488 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.569, allocations: 43.88 kB / 1.608 GB, free: 444 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/1.569, allocations: 153.7 kB / 1.608 GB, free: 292 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003683/1.569, allocations: 179.9 kB / 1.608 GB, free: 112 kB / 1.01 GB Notification: Performance of sort global known variables: time 0.001018/1.57, allocations: 0.7763 MB / 1.609 GB, free: 15.33 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002812/1.573, allocations: 0.6758 MB / 1.609 GB, free: 14.66 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003192/1.574, allocations: 119.1 kB / 1.61 GB, free: 14.53 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.008528/1.582, allocations: 5.743 MB / 1.615 GB, free: 8.777 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.582, allocations: 0 / 1.615 GB, free: 8.777 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.006499/1.589, allocations: 3.383 MB / 1.618 GB, free: 5.371 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.59, allocations: 162.6 kB / 1.619 GB, free: 5.215 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/1.598, allocations: 4.379 MB / 1.623 GB, free: 0.7383 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/1.6, allocations: 1.904 MB / 1.625 GB, free: 14.8 MB / 1.042 GB Notification: Performance of SimCode: time 8.02e-07/1.6, allocations: 0 / 1.625 GB, free: 14.8 MB / 1.042 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)