Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Examples.Tutorial.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Examples.Tutorial.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.Example4") translateModel(IDEAS.Examples.Tutorial.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 102.2 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 191 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8011/0.8011, allocations: 132.2 MB / 423.2 MB, free: 6.688 MB / 334.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 63.91 kB / 0.5024 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4522, allocations: 80.18 MB / 0.5807 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.Example4): time 1.676/2.128, allocations: 0.5297 GB / 1.11 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.112/2.24, allocations: 72.87 MB / 1.182 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03205/2.272, allocations: 491.8 kB / 1.182 GB, free: 12.87 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/InterzonalAirFlow/BaseClasses/PartialInterzonalAirFlowBoundary.mo:21:3-22:72:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialZone.mo:195:3-207:27:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Zone.mo:6:3-18:28:writable] Warning: Connector propsBus is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:55:3-69:26:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:8:3-16:27:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:18:3-26:26:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:145:3-157:26:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:55:3-69:26:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:8:3-16:27:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:18:3-26:26:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:145:3-157:26:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:55:3-69:26:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:8:3-16:27:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:18:3-26:26:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:145:3-157:26:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:55:3-69:26:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:8:3-16:27:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:18:3-26:26:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:145:3-157:26:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:55:3-69:26:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:8:3-16:27:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:18:3-26:26:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:145:3-157:26:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:55:3-69:26:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:8:3-16:27:writable] Warning: Connector propsBus_a is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/ZoneBusVarMultiplicator.mo:18:3-26:26:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Interfaces/PartialSurface.mo:145:3-157:26:writable] Warning: Connector propsBusInt is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/InternalWall.mo:69:3-82:27:writable] Warning: Connector propsBus_b is not balanced: The number of potential variables (10) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.01775/2.29, allocations: 6.123 MB / 1.188 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02997/2.32, allocations: 7.136 MB / 1.195 GB, free: 7.605 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02399/2.344, allocations: 6.384 MB / 1.201 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.04701/2.391, allocations: 29.16 MB / 1.23 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04231/2.433, allocations: 26.39 MB / 1.255 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02966/2.463, allocations: 12.84 MB / 1.268 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.023/2.486, allocations: 12.07 MB / 1.28 GB, free: 6 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.01205/2.498, allocations: 2.777 MB / 1.283 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.023/2.521, allocations: 5.521 MB / 1.288 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01404/2.535, allocations: 6.189 MB / 1.294 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.03615/2.571, allocations: 12.36 MB / 1.306 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.06191/2.633, allocations: 36.52 MB / 1.342 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/2.633, allocations: 8 kB / 1.342 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.425e-06/2.633, allocations: 0 / 1.342 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.001655/2.635, allocations: 0 / 1.342 GB, free: 7.629 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3846 * Number of variables: 3846 Notification: Performance of Generate backend data structure: time 0.08792/2.723, allocations: 23.71 MB / 1.365 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/2.723, allocations: 8.625 kB / 1.365 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02592/2.749, allocations: 3.704 MB / 1.368 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8588/3.608, allocations: 20.36 MB / 1.388 GB, free: 472.8 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003561/3.611, allocations: 1.316 MB / 1.39 GB, free: 472.1 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00831/3.62, allocations: 1.509 MB / 1.391 GB, free: 471.6 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06322/3.683, allocations: 18.13 MB / 1.409 GB, free: 462.7 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008805/3.684, allocations: 11.81 kB / 1.409 GB, free: 462.7 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00637/3.69, allocations: 0.6008 MB / 1.409 GB, free: 462.2 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006071/3.691, allocations: 488.7 kB / 1.41 GB, free: 462.2 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04374/3.735, allocations: 14.74 MB / 1.424 GB, free: 454.6 MB / 0.9357 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1557/3.89, allocations: 81.66 MB / 1.504 GB, free: 371.8 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02283/3.913, allocations: 9.407 MB / 1.513 GB, free: 362.1 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01005/3.923, allocations: 4.452 MB / 1.518 GB, free: 357.6 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002367/3.926, allocations: 1.873 MB / 1.519 GB, free: 355.4 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01227/3.938, allocations: 4.779 MB / 1.524 GB, free: 350.4 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=551): time 2.694e-05/3.938, allocations: 0 / 1.524 GB, free: 350.4 MB / 0.9357 GB Notification: Performance of matching and sorting (n=555): time 0.3098/4.248, allocations: 110.5 MB / 1.632 GB, free: 238 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003006/4.248, allocations: 1.129 MB / 1.633 GB, free: 236.6 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03915/4.288, allocations: 15.54 MB / 1.648 GB, free: 221.2 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.00225/4.29, allocations: 157.7 kB / 1.648 GB, free: 221 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.0117/4.302, allocations: 9.595 MB / 1.658 GB, free: 211.4 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.003191/4.305, allocations: 1.963 MB / 1.66 GB, free: 209.5 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009585/4.314, allocations: 2.304 MB / 1.662 GB, free: 207.2 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 5.278e-05/4.315, allocations: 301.1 kB / 1.662 GB, free: 206.9 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01247/4.327, allocations: 5.722 MB / 1.668 GB, free: 201.1 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01502/4.342, allocations: 8.735 MB / 1.676 GB, free: 191.2 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02532/4.367, allocations: 12.93 MB / 1.689 GB, free: 177.2 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/4.368, allocations: 20 kB / 1.689 GB, free: 177.2 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1314) (initialization): time 0.04546/4.413, allocations: 17.81 MB / 1.706 GB, free: 159.3 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002143/4.413, allocations: 111.4 kB / 1.706 GB, free: 159.2 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/4.414, allocations: 76 kB / 1.707 GB, free: 159.1 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008185/4.422, allocations: 2.426 MB / 1.709 GB, free: 156.7 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01121/4.433, allocations: 2.371 MB / 1.711 GB, free: 154.3 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/4.455, allocations: 28.04 MB / 1.739 GB, free: 124.4 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01561/4.471, allocations: 0.9901 MB / 1.74 GB, free: 123.5 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00287/4.473, allocations: 0.5115 MB / 1.74 GB, free: 122.9 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02511/4.499, allocations: 10.99 MB / 1.751 GB, free: 111.9 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01543/4.514, allocations: 8.726 MB / 1.759 GB, free: 102 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0244/4.538, allocations: 12.9 MB / 1.772 GB, free: 88.02 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001126/4.539, allocations: 24 kB / 1.772 GB, free: 88 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1314) (initialization_lambda0): time 0.0475/4.586, allocations: 17.79 MB / 1.789 GB, free: 70.13 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/4.586, allocations: 115.4 kB / 1.789 GB, free: 70.01 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/4.587, allocations: 76 kB / 1.789 GB, free: 69.93 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008143/4.595, allocations: 2.426 MB / 1.792 GB, free: 67.48 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/4.606, allocations: 2.363 MB / 1.794 GB, free: 65.11 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/4.628, allocations: 28.04 MB / 1.822 GB, free: 35.26 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01727/4.646, allocations: 1.086 MB / 1.823 GB, free: 34.18 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003227/4.649, allocations: 0.5077 MB / 1.823 GB, free: 33.67 MB / 0.9357 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 348 * Number of states: 0 () * Number of discrete variables: 68 (zone.occNum.calTim.firstHourSampling,$PRE.zone.occNum.calTim.firstHourSampling,zone.occNum.calTim.firstDaySampling,$PRE.zone.occNum.calTim.firstDaySampling,zone.occNum.calTim.daySampleTrigger,$whenCondition1,zone.occNum.calTim.hourSampleTrigger,$whenCondition2,floor.q50_zone.using_custom_q50,window.q50_zone.using_custom_q50,outerWall3.q50_zone.using_custom_q50,outerWall2.q50_zone.using_custom_q50,outerWall1.q50_zone.using_custom_q50,outerWall.q50_zone.using_custom_q50,zone.setq50.use_custom_n50s[6],zone.setq50.use_custom_n50s[5],zone.setq50.use_custom_n50s[4],zone.setq50.use_custom_n50s[2],zone.setq50.use_custom_n50s[3],zone.setq50.use_custom_n50s[1],zone.setq50.use_custom_n50s[7],zone.setq50.allSurfacesCustom,zone.radDistrLw.computeCarroll,sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,zone.setq50.use_custom_q50[7],zone.setq50.use_custom_q50[6],zone.setq50.use_custom_q50[5],zone.setq50.use_custom_q50[4],zone.setq50.use_custom_q50[2],zone.setq50.use_custom_q50[3],zone.setq50.use_custom_q50[1],window.setArea.use_custom_n50,outerWall3.setArea.use_custom_n50,outerWall2.setArea.use_custom_n50,outerWall1.setArea.use_custom_n50,outerWall.setArea.use_custom_n50,zone.ligCtr.booToRea.u,zone.occNum.calTim.epochLastMonth,$PRE.zone.occNum.calTim.epochLastMonth,zone.occNum.calTim.yearIndex,$PRE.zone.occNum.calTim.yearIndex,zone.occNum.calTim.daysSinceEpoch,$PRE.zone.occNum.calTim.daysSinceEpoch,zone.occNum.calTim.weekDay,$PRE.zone.occNum.calTim.weekDay,zone.occNum.calTim.hour,$PRE.zone.occNum.calTim.hour,zone.occNum.calTim.day,$PRE.zone.occNum.calTim.day,zone.occNum.calTim.month,$PRE.zone.occNum.calTim.month,zone.occNum.calTim.year,$PRE.zone.occNum.calTim.year,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1231): * Single equations (assignments): 1214 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,7,100.0%), (5,27,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005219/4.654, allocations: 0.8182 MB / 1.824 GB, free: 32.84 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005109/4.659, allocations: 1.458 MB / 1.825 GB, free: 31.36 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02673/4.686, allocations: 10.42 MB / 1.836 GB, free: 20.8 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.902e-05/4.686, allocations: 68.22 kB / 1.836 GB, free: 20.73 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/4.686, allocations: 16 kB / 1.836 GB, free: 20.72 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01313/4.699, allocations: 7.582 MB / 1.843 GB, free: 12.98 MB / 0.9357 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9224/5.622, allocations: 29.68 MB / 1.872 GB, free: 431.5 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.787e-05/5.622, allocations: 14.28 kB / 1.872 GB, free: 431.5 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00687/5.629, allocations: 1.162 MB / 1.873 GB, free: 431.5 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/5.632, allocations: 0.9068 MB / 1.874 GB, free: 431.2 MB / 0.9358 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001849/5.634, allocations: 205.2 kB / 1.874 GB, free: 431.1 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/5.653, allocations: 24.27 MB / 1.898 GB, free: 410.2 MB / 0.9358 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/5.653, allocations: 15.84 kB / 1.898 GB, free: 410.1 MB / 0.9358 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04175/5.695, allocations: 15.11 MB / 1.913 GB, free: 404 MB / 0.9358 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01122/5.706, allocations: 2.421 MB / 1.915 GB, free: 403.4 MB / 0.9358 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006465/5.712, allocations: 187.8 kB / 1.915 GB, free: 403.3 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01091/5.723, allocations: 447 kB / 1.916 GB, free: 403.2 MB / 0.9358 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002336/5.726, allocations: 430.9 kB / 1.916 GB, free: 403.1 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00176/5.727, allocations: 217.6 kB / 1.916 GB, free: 403.1 MB / 0.9358 GB Notification: Performance of sorting global known variables: time 0.02756/5.755, allocations: 10.57 MB / 1.927 GB, free: 399.5 MB / 0.9358 GB Notification: Performance of sort global known variables: time 1.643e-06/5.755, allocations: 0 / 1.927 GB, free: 399.5 MB / 0.9358 GB Notification: Performance of remove unused functions: time 0.0386/5.794, allocations: 5.816 MB / 1.932 GB, free: 399 MB / 0.9358 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 28 (zone.airModel.vol.dynBal.U,zone.airModel.vol.dynBal.m,zone.airModel.vol.dynBal.mXi[1],outerWall.layMul.monLay[1].monLayDyn.T[1],outerWall.layMul.monLay[1].monLayDyn.T[2],outerWall.layMul.monLay[3].monLayDyn.T[1],outerWall.layMul.monLay[3].monLayDyn.T[2],outerWall.layMul.monLay[3].monLayDyn.T[3],outerWall1.layMul.monLay[1].monLayDyn.T[1],outerWall1.layMul.monLay[1].monLayDyn.T[2],outerWall1.layMul.monLay[3].monLayDyn.T[1],outerWall1.layMul.monLay[3].monLayDyn.T[2],outerWall1.layMul.monLay[3].monLayDyn.T[3],outerWall2.layMul.monLay[1].monLayDyn.T[1],outerWall2.layMul.monLay[1].monLayDyn.T[2],outerWall2.layMul.monLay[3].monLayDyn.T[1],outerWall2.layMul.monLay[3].monLayDyn.T[2],outerWall2.layMul.monLay[3].monLayDyn.T[3],outerWall3.layMul.monLay[1].monLayDyn.T[1],outerWall3.layMul.monLay[1].monLayDyn.T[2],outerWall3.layMul.monLay[3].monLayDyn.T[1],outerWall3.layMul.monLay[3].monLayDyn.T[2],outerWall3.layMul.monLay[3].monLayDyn.T[3],window.heaCapGlaInt.T,window.heaCapGlaExt.T,floor.layMul.monLay[1].monLayDyn.T[1],floor.layMul.monLay[1].monLayDyn.T[2],floor.layMul.monLay[2].monLayDyn.T[1]) * Number of discrete variables: 21 (zone.occNum.calTim.hourSampleTrigger,zone.occNum.calTim.daySampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,zone.occNum.calTim.year,zone.occNum.calTim.month,zone.occNum.calTim.day,zone.occNum.calTim.hour,zone.occNum.calTim.weekDay,zone.occNum.calTim.daysSinceEpoch,zone.occNum.calTim.yearIndex,zone.occNum.calTim.epochLastMonth,zone.occNum.calTim.firstHourSampling,zone.occNum.calTim.firstDaySampling,zone.ligCtr.booToRea.u) * Number of discrete states: 11 (zone.occNum.calTim.firstDaySampling,zone.occNum.calTim.daysSinceEpoch,zone.occNum.calTim.weekDay,zone.occNum.calTim.firstHourSampling,zone.occNum.calTim.hour,zone.occNum.calTim.yearIndex,zone.occNum.calTim.epochLastMonth,zone.occNum.calTim.month,zone.occNum.calTim.year,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (555): * Single equations (assignments): 530 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (2,14,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004555/5.798, allocations: 1.068 MB / 1.933 GB, free: 398.8 MB / 0.9358 GB Notification: Performance of simCode: created initialization part: time 0.08414/5.883, allocations: 34.84 MB / 1.967 GB, free: 367.7 MB / 0.9358 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-05/5.883, allocations: 10.53 kB / 1.967 GB, free: 367.7 MB / 0.9358 GB Notification: Performance of simCode: created simulation system equations: time 0.01272/5.895, allocations: 6.146 MB / 1.973 GB, free: 361.4 MB / 0.9358 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02932/5.925, allocations: 3.098 MB / 1.976 GB, free: 358.7 MB / 0.9358 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.095/6.02, allocations: 36.77 MB / 2.012 GB, free: 322.3 MB / 0.9358 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02406/6.044, allocations: 10.45 MB / 2.022 GB, free: 311.9 MB / 0.9358 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007344/6.051, allocations: 1.045 MB / 2.023 GB, free: 310.8 MB / 0.9358 GB Notification: Performance of SimCode: time 2.053e-06/6.051, allocations: 0 / 2.023 GB, free: 310.8 MB / 0.9358 GB Notification: Performance of Templates: time 3.366/9.417, allocations: 1.543 GB / 3.567 GB, free: 296.6 MB / 0.9358 GB make -j1 -f IDEAS_IDEAS.Examples.Tutorial.Example4.makefile make -j1 -f IDEAS_IDEAS.Examples.Tutorial.Example4.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Examples.Tutorial.Example4CalcHelperMain.o OMCppIDEAS_IDEAS.Examples.Tutorial.Example4CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Examples.Tutorial.Example4CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Examples.Tutorial.Example4Functions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_IDEAS.Examples.Tutorial.Example4CalcHelperMain.o] Error 1