Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",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.805/1.805, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009625/0.0009626, allocations: 185.2 kB / 490.8 MB, free: 1.922 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.125/1.125, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008805/0.0008805, allocations: 94.8 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.416/0.4169, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.5957, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5301/1.126, allocations: 196.2 MB / 1.403 GB, free: 5.238 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/1.126, allocations: 92.88 kB / 1.403 GB, free: 5.188 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1106/1.237, allocations: 51.72 MB / 1.454 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/1.237, allocations: 12 kB / 1.454 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009014/1.246, allocations: 1.243 MB / 1.455 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/1.247, allocations: 0.6296 MB / 1.456 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/1.247, allocations: 16 kB / 1.456 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/1.247, allocations: 36 kB / 1.456 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00213/1.249, allocations: 1.352 MB / 1.457 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/1.251, allocations: 1.385 MB / 1.458 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.251, allocations: 3.938 kB / 1.458 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.251, allocations: 4 kB / 1.458 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002772/1.252, allocations: 137.3 kB / 1.459 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008536/1.26, allocations: 6.549 MB / 1.465 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009823/1.261, allocations: 0.8426 MB / 1.466 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/1.262, allocations: 0.5783 MB / 1.466 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/1.264, allocations: 1.48 MB / 1.468 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/1.264, allocations: 44 kB / 1.468 GB, free: 13 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.295e-06/1.264, allocations: 0 / 1.468 GB, free: 13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.01001/1.274, allocations: 4.194 MB / 1.472 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.274, allocations: 89.48 kB / 1.472 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/1.274, allocations: 479.3 kB / 1.472 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.574e-05/1.274, allocations: 25.7 kB / 1.472 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/1.275, allocations: 357.9 kB / 1.473 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/1.275, allocations: 358.7 kB / 1.473 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/1.275, allocations: 0 / 1.473 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.275, allocations: 388.8 kB / 1.474 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009639/1.276, allocations: 0.7567 MB / 1.474 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/1.277, allocations: 1.084 MB / 1.475 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/1.279, allocations: 1.012 MB / 1.476 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/1.279, allocations: 4 kB / 1.476 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006535/1.285, allocations: 2.936 MB / 1.479 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001101/1.287, allocations: 3.916 MB / 1.483 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.287, allocations: 8 kB / 1.483 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/1.29, allocations: 0.9559 MB / 1.484 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/1.292, allocations: 390.7 kB / 1.484 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009994/1.302, allocations: 8.371 MB / 1.493 GB, free: 7.109 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.304, allocations: 199.8 kB / 1.493 GB, free: 6.914 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/1.305, allocations: 66.73 kB / 1.493 GB, free: 6.859 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-06/1.305, allocations: 7.938 kB / 1.493 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004574/1.309, allocations: 2.33 MB / 1.495 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.309, allocations: 12 kB / 1.495 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/1.311, allocations: 0.5658 MB / 1.496 GB, free: 4.355 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/1.313, allocations: 415.7 kB / 1.496 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008096/1.321, allocations: 8.098 MB / 1.504 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.323, allocations: 191.8 kB / 1.504 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.323, allocations: 63.97 kB / 1.504 GB, free: 11.13 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003208/1.323, allocations: 140.5 kB / 1.504 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/1.324, allocations: 79.06 kB / 1.504 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007241/1.331, allocations: 2.995 MB / 1.507 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.331, allocations: 15.94 kB / 1.507 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.331, allocations: 16.55 kB / 1.507 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.331, allocations: 3.984 kB / 1.507 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008763/1.34, allocations: 4.557 MB / 1.512 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.34, allocations: 4.688 kB / 1.512 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/1.341, allocations: 295.5 kB / 1.512 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003796/1.345, allocations: 1.041 MB / 1.513 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/1.345, allocations: 19.97 kB / 1.513 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/1.357, allocations: 9.706 MB / 1.523 GB, free: 7.637 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.357, allocations: 7.938 kB / 1.523 GB, free: 7.629 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006229/1.363, allocations: 3.112 MB / 1.526 GB, free: 4.277 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006256/1.37, allocations: 3.525 MB / 1.529 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/1.37, allocations: 339.9 kB / 1.529 GB, free: 156 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/1.37, allocations: 11.98 kB / 1.529 GB, free: 144 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.372, allocations: 227.6 kB / 1.53 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.373, allocations: 72.19 kB / 1.53 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.373, allocations: 47.97 kB / 1.53 GB, free: 15.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004069/1.373, allocations: 358.9 kB / 1.53 GB, free: 15.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00308/1.376, allocations: 0.5155 MB / 1.531 GB, free: 14.93 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002443/1.376, allocations: 131 kB / 1.531 GB, free: 14.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006902/1.383, allocations: 3.903 MB / 1.535 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.383, allocations: 0 / 1.535 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002873/1.386, allocations: 1.537 MB / 1.536 GB, free: 9.242 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007889/1.387, allocations: 115.3 kB / 1.536 GB, free: 9.133 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008908/1.396, allocations: 2.632 MB / 1.539 GB, free: 6.398 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.397, allocations: 1.184 MB / 1.54 GB, free: 5.188 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/1.397, allocations: 3.938 kB / 1.54 GB, free: 5.184 MB / 0.948 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat