Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.34/1.34, allocations: 285.5 MB / 292.8 MB, free: 9.891 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.0009751/0.000975, allocations: 179.7 kB / 361.1 MB, free: 372 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.044/1.044, allocations: 205.2 MB / 0.6195 GB, free: 2.898 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.0007664/0.0007664, allocations: 76.78 kB / 0.7326 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3648/0.3656, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.5128, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.9598, allocations: 167.4 MB / 1.127 GB, free: 24.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.9601, allocations: 95.83 kB / 1.127 GB, free: 24.1 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.1304/1.09, allocations: 63.55 MB / 1.189 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/1.091, allocations: 8.469 kB / 1.189 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/1.094, allocations: 478 kB / 1.19 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/1.096, allocations: 1.286 MB / 1.191 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/1.096, allocations: 52.75 kB / 1.191 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/1.097, allocations: 88.86 kB / 1.191 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003339/1.1, allocations: 2.352 MB / 1.194 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/1.104, allocations: 2.964 MB / 1.196 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/1.104, allocations: 2.625 kB / 1.196 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/1.104, allocations: 7.797 kB / 1.196 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005339/1.104, allocations: 190.1 kB / 1.197 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/1.122, allocations: 14.71 MB / 1.211 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/1.123, allocations: 1.749 MB / 1.213 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/1.125, allocations: 1.542 MB / 1.214 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/1.125, allocations: 19.83 kB / 1.214 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/1.125, allocations: 39.34 kB / 1.214 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 2.736e-06/1.125, allocations: 0 / 1.214 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=183): time 0.03976/1.165, allocations: 14.17 MB / 1.228 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/1.165, allocations: 69.41 kB / 1.228 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/1.166, allocations: 1.004 MB / 1.229 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/1.167, allocations: 25.7 kB / 1.229 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/1.167, allocations: 0.6624 MB / 1.23 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005895/1.168, allocations: 0.5965 MB / 1.23 GB, free: 428 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/1.168, allocations: 4 kB / 1.23 GB, free: 424 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.168, allocations: 385.9 kB / 1.231 GB, free: 32 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/1.171, allocations: 2.147 MB / 1.233 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/1.174, allocations: 2.47 MB / 1.235 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005122/1.179, allocations: 2.929 MB / 1.238 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.179, allocations: 4 kB / 1.238 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.017/1.196, allocations: 8.769 MB / 1.247 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.196, allocations: 8 kB / 1.247 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.196, allocations: 8 kB / 1.247 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0144/1.21, allocations: 4.988 MB / 1.252 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009874/1.211, allocations: 255.6 kB / 1.252 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03047/1.242, allocations: 21.55 MB / 1.273 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/1.244, allocations: 67.89 kB / 1.273 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005201/1.244, allocations: 275.7 kB / 1.273 GB, free: 4.164 MB / 0.7761 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.0004941/1.245, allocations: 124.7 kB / 1.273 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/1.245, allocations: 134.4 kB / 1.273 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/1.261, allocations: 8.342 MB / 1.282 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/1.261, allocations: 27.92 kB / 1.282 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/1.261, allocations: 20 kB / 1.282 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/1.261, allocations: 11.91 kB / 1.282 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/1.284, allocations: 12.76 MB / 1.294 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.284, allocations: 4 kB / 1.294 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/1.285, allocations: 111.8 kB / 1.294 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01383/1.298, allocations: 4.773 MB / 1.299 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/1.299, allocations: 59.89 kB / 1.299 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02698/1.326, allocations: 18.5 MB / 1.317 GB, free: 6.875 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.326, allocations: 8 kB / 1.317 GB, free: 6.867 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01511/1.341, allocations: 7.889 MB / 1.325 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01478/1.356, allocations: 8.303 MB / 1.333 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.357, allocations: 0.8271 MB / 1.334 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006743/1.358, allocations: 11.89 kB / 1.334 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.359, allocations: 48.11 kB / 1.334 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/1.36, allocations: 149.7 kB / 1.334 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003443/1.36, allocations: 179.9 kB / 1.334 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001063/1.361, allocations: 0.7724 MB / 1.335 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003287/1.364, allocations: 0.6679 MB / 1.335 GB, free: 3.707 MB / 0.8386 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.0004331/1.365, allocations: 127.1 kB / 1.336 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.008958/1.374, allocations: 5.731 MB / 1.341 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.374, allocations: 0 / 1.341 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006553/1.38, allocations: 3.383 MB / 1.344 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.382, allocations: 152.8 kB / 1.345 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008584/1.39, allocations: 4.387 MB / 1.349 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/1.392, allocations: 1.897 MB / 1.351 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/1.392, allocations: 0 / 1.351 GB, free: 3.867 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)