Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008/0.0008, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008334/0.0008334, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8962/0.8962, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03479/0.03479, allocations: 9.114 MB / 268.3 MB, free: 4.508 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004222/0.0004222, allocations: 31.94 kB / 327.8 MB, free: 20.64 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.516/1.516, allocations: 275 MB / 0.6467 GB, free: 2.496 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,fileNamePrefix="AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,fileNamePrefix="AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9279 GB, free: 8.723 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.992e-05, allocations: 6.109 kB / 0.9279 GB, free: 8.719 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop): time 0.004137/0.004156, allocations: 2.647 MB / 0.9305 GB, free: 6.074 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.005278, allocations: 0.785 MB / 0.9313 GB, free: 5.289 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.005391, allocations: 9 kB / 0.9313 GB, free: 5.281 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.005587, allocations: 27.72 kB / 0.9313 GB, free: 5.254 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.005714, allocations: 28.92 kB / 0.9314 GB, free: 5.227 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.006224, allocations: 173.9 kB / 0.9315 GB, free: 5.059 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.006455, allocations: 179.5 kB / 0.9317 GB, free: 4.883 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.006576, allocations: 33.72 kB / 0.9317 GB, free: 4.852 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.0067, allocations: 103.7 kB / 0.9318 GB, free: 4.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.006796, allocations: 55.86 kB / 0.9319 GB, free: 4.695 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.006826, allocations: 16 kB / 0.9319 GB, free: 4.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.006918, allocations: 60.94 kB / 0.9319 GB, free: 4.621 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.006967, allocations: 31.83 kB / 0.932 GB, free: 4.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.007035, allocations: 55.83 kB / 0.932 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.007297, allocations: 208.6 kB / 0.9322 GB, free: 4.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.007299, allocations: 4 kB / 0.9322 GB, free: 4.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.007301, allocations: 0 / 0.9322 GB, free: 4.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.007305, allocations: 0 / 0.9322 GB, free: 4.328 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006919/0.007997, allocations: 483.8 kB / 0.9327 GB, free: 3.816 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.008032, allocations: 11.98 kB / 0.9327 GB, free: 3.805 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.008071, allocations: 42.73 kB / 0.9327 GB, free: 3.754 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.008123, allocations: 24.8 kB / 0.9328 GB, free: 3.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.008398, allocations: 172.1 kB / 0.9329 GB, free: 3.535 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.008411, allocations: 8.375 kB / 0.9329 GB, free: 3.527 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.008435, allocations: 8.375 kB / 0.933 GB, free: 3.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.008768, allocations: 221.4 kB / 0.9332 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.008778, allocations: 3.938 kB / 0.9332 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.008794, allocations: 8 kB / 0.9332 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.008798, allocations: 0 / 0.9332 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.009016, allocations: 143.2 kB / 0.9333 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.009732, allocations: 372.8 kB / 0.9337 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.01011, allocations: 194.1 kB / 0.9339 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.01024, allocations: 107.2 kB / 0.934 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.01026, allocations: 1.281 kB / 0.934 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.01052, allocations: 202.2 kB / 0.9341 GB, free: 2.184 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.01053, allocations: 0 / 0.9341 GB, free: 2.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005779/0.0111, allocations: 407.6 kB / 0.9345 GB, free: 1.762 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.01117, allocations: 145 kB / 0.9347 GB, free: 1.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.01129, allocations: 176.4 kB / 0.9348 GB, free: 1.402 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.01131, allocations: 29.7 kB / 0.9349 GB, free: 1.367 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.01138, allocations: 124.3 kB / 0.935 GB, free: 1.242 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.01141, allocations: 35.75 kB / 0.935 GB, free: 1.207 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.01146, allocations: 37.7 kB / 0.9351 GB, free: 1.164 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.01166, allocations: 332.3 kB / 0.9354 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.0118, allocations: 124.2 kB / 0.9355 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.01195, allocations: 190 kB / 0.9357 GB, free: 488 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.0125, allocations: 408 kB / 0.9361 GB, free: 36 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.0125, allocations: 2.75 kB / 0.9361 GB, free: 36 kB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003522/0.01285, allocations: 340.2 kB / 0.9364 GB, free: 15.67 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.01289, allocations: 63.53 kB / 0.9365 GB, free: 15.6 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.01289, allocations: 11.92 kB / 0.9365 GB, free: 15.59 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01291, allocations: 4 kB / 0.9365 GB, free: 15.58 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.01299, allocations: 35.86 kB / 0.9365 GB, free: 15.55 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01299, allocations: 0 / 0.9365 GB, free: 15.55 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.08e-05/0.01307, allocations: 31.92 kB / 0.9365 GB, free: 15.52 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.01308, allocations: 4 kB / 0.9365 GB, free: 15.51 MB / 0.7137 GB Warning: Assuming fixed start value for the following 2 variables: tCPCommunicatorExample.stateExample:DISCRETE(fixed = true protected = true ) \"Dummy variable to check state of TCP send function, 0 == OK, 1 == error\" type: Integer tCPCommunicatorExample.y[1]:DISCRETE(flow=false fixed = true ) \"Connector of Real output signals\" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001795/0.01326, allocations: 202.1 kB / 0.9367 GB, free: 15.3 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001197/0.01338, allocations: 179.9 kB / 0.9369 GB, free: 15.09 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003862/0.01377, allocations: 383 kB / 0.9373 GB, free: 14.67 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.01377, allocations: 0 / 0.9373 GB, free: 14.67 MB / 0.7137 GB Notification: Performance of matching and sorting (n=22) (initialization_lambda0): time 0.0002964/0.01407, allocations: 320.2 kB / 0.9376 GB, free: 14.33 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.01409, allocations: 63.39 kB / 0.9376 GB, free: 14.25 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.01409, allocations: 0 / 0.9376 GB, free: 14.25 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.0141, allocations: 3.938 kB / 0.9376 GB, free: 14.25 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.01415, allocations: 23.98 kB / 0.9377 GB, free: 14.23 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.01415, allocations: 4.094 kB / 0.9377 GB, free: 14.22 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.01422, allocations: 27.88 kB / 0.9377 GB, free: 14.2 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01423, allocations: 12 kB / 0.9377 GB, free: 14.18 MB / 0.7137 GB Warning: Assuming fixed start value for the following 2 variables: tCPCommunicatorExample.stateExample:DISCRETE(fixed = true protected = true ) \"Dummy variable to check state of TCP send function, 0 == OK, 1 == error\" type: Integer tCPCommunicatorExample.y[1]:DISCRETE(flow=false fixed = true ) \"Connector of Real output signals\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.tCPCommunicatorExample.stateExample,tCPCommunicatorExample.stateExample,tCPCommunicatorExample.firstTrigger,$PRE.tCPCommunicatorExample.firstTrigger,tCPCommunicatorExample.sampleTrigger,$whenCondition3,$whenCondition2,tCPCommunicatorExample.isConnected,$PRE.tCPCommunicatorExample.y[1],$PRE.pulse.count,$PRE.pulse.T_start,tCPCommunicatorExample.y[1],pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.01436, allocations: 230.2 kB / 0.9379 GB, free: 13.95 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.01439, allocations: 19.91 kB / 0.9379 GB, free: 13.93 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.01442, allocations: 29.33 kB / 0.938 GB, free: 13.91 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01442, allocations: 0 / 0.938 GB, free: 13.91 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01443, allocations: 0 / 0.938 GB, free: 13.91 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01443, allocations: 4 kB / 0.938 GB, free: 13.9 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.01507, allocations: 0.6061 MB / 0.9386 GB, free: 13.23 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.01508, allocations: 4 kB / 0.9386 GB, free: 13.23 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.01515, allocations: 23.97 kB / 0.9386 GB, free: 13.21 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01515, allocations: 0 / 0.9386 GB, free: 13.21 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.01517, allocations: 15.92 kB / 0.9386 GB, free: 13.19 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01517, allocations: 0 / 0.9386 GB, free: 13.19 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01517, allocations: 4 kB / 0.9386 GB, free: 13.19 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.01601, allocations: 0.5342 MB / 0.9391 GB, free: 12.62 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.01603, allocations: 15.92 kB / 0.9391 GB, free: 12.61 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01606, allocations: 4 kB / 0.9391 GB, free: 12.6 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.01615, allocations: 20.05 kB / 0.9392 GB, free: 12.58 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.0162, allocations: 23.97 kB / 0.9392 GB, free: 12.56 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.01622, allocations: 7.984 kB / 0.9392 GB, free: 12.55 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 6.915e-05/0.01629, allocations: 127.2 kB / 0.9393 GB, free: 12.43 MB / 0.7137 GB Notification: Performance of sort global known variables: time 6e-08/0.01629, allocations: 0 / 0.9393 GB, free: 12.43 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.0002835/0.01657, allocations: 79.88 kB / 0.9394 GB, free: 12.35 MB / 0.7137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (system.y) * Number of discrete variables: 10 (tCPCommunicatorExample.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,pulse.T_start,pulse.count,tCPCommunicatorExample.firstTrigger,tCPCommunicatorExample.y[1],tCPCommunicatorExample.isConnected,tCPCommunicatorExample.stateExample) * Number of discrete states: 4 (pulse.count,tCPCommunicatorExample.y[1],tCPCommunicatorExample.stateExample,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.0177, allocations: 1.266 MB / 0.9406 GB, free: 11.14 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0005255/0.01822, allocations: 0.5974 MB / 0.9412 GB, free: 10.46 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01822, allocations: 0 / 0.9412 GB, free: 10.46 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.01838, allocations: 180.9 kB / 0.9414 GB, free: 10.27 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.01864, allocations: 37.94 kB / 0.9414 GB, free: 10.23 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.02058, allocations: 2.407 MB / 0.9438 GB, free: 7.652 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.02065, allocations: 110.1 kB / 0.9439 GB, free: 7.527 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 7.481e-05/0.02073, allocations: 29.47 kB / 0.9439 GB, free: 7.5 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.02079, allocations: 40.48 kB / 0.9439 GB, free: 7.461 MB / 0.7137 GB Notification: Performance of SimCode: time 6.21e-07/0.02079, allocations: 3.938 kB / 0.944 GB, free: 7.457 MB / 0.7137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.03877, allocations: 6.081 MB / 0.9499 GB, free: 1.527 MB / 0.7137 GB Error: Error building simulator. Build log: cmd: cd '183.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 18.1.3 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop/183.fmutmp/sources/fmi -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop/183.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done (0.2s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"183\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop/183.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 4.035203496925533] Failed to read output from testmodel.py, exit status != 0: 0.2364688916131854 0.24476404999999996 0.23576719599999996 Calling exit ...